3 ms·
It creates a full inode using shmem[1], which eventually goes to ramfs[2]. It's a real inode in every sense of the word. [1]: http://lxr.free-electrons.com/sou
by cyphar 10y ago
It creates a full inode using shmem[1], which eventually goes to ramfs[2]. It's a real inode in every sense of the word.
[1]: http://lxr.free-electrons.com/source/mm/shmem.c?v=4.2#L2949 http://lxr.free-electrons.com/source/mm/shmem.c?v=4.2#L2949
[2]: http://lxr.free-electrons.com/source/fs/ramfs/inode.c?v=4.2#L53 http://lxr.free-electrons.com/source/fs/ramfs/inode.c?v=4.2#...
- geocar 10y agoI have been indelicate: What Linux calls an "struct inode" is not what UNIX traditionally called an inode[1], and I meant the latter without perhaps enough specificity. [1]: https://en.wikipedia.org/wiki/Inode https://en.wikipedia.org/wiki/Inode