lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 30 Apr 2009 15:43:39 -0400
From:	Theodore Tso <tytso@....edu>
To:	Jan Kara <jack@...e.cz>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Christoph Hellwig <hch@...radead.org>
Subject: Re: [RFC PATCH 0/2] A new way of attaching information to inodes

On Thu, Apr 30, 2009 at 07:31:16PM +0200, Jan Kara wrote:
> 
>   currently our VFS inode structure is quite big. It contains quite some
> members that are useful only in some cases (e.g. device pointers and list head
> used only when the inode represents a block/character device, quota pointers
> used only when the filesystem actually supports quota, etc.). And it would
> be helpful to add some more so that we can handle ACL's in generic code, or
> we can do some kind of block reservation for mmaped writes, and there are
> other cases.

One of the things on my "round tuit" list was separating out those
inode fields which are only needed when the inode is in use, and
separating them out into a separate data structure, so that the 90+%
of the inodes which are just being cached, and are not active, don't
burn space in struct inode.  In particular, we can probably move out
i_mutex, i_alloc_sem, i_size_seqcount, i_flock, and perhaps others.

The same applies for the filesystem-specific portion of the in-core
inode; and for some filesystems there might be even more opportunity
for savings there.

Just a thought,

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ