Re: [LART] inode mismanagement in hugetlb code

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu Oct 10 2002 - 14:19:54 EST


On Thu, Oct 10, 2002 at 03:00:37PM -0400, Alexander Viro wrote:
> a) inodes MUST have an address of valid struct super_block in their
> ->i_sb. Had been discussed quite a few times already.
> b) inodes MUST NOT be allocated by code that isn't called from
> alloc_inode().
> c) inodes SHOULD NOT be kept around for noticable intervals without
> a dentry pointing to them.
> d) people who choose variable names like htlbpagek SHOULD be sent to
> produce a street map of R'Lyeh. On site.

A wee bit of neurosurgery is in progress to repair (a) and (b) since
they're taking out my boxen dead cold and reliably on the first or
second invocation with Paul Larson's tests. (c) is very unclean, and
(d) I wholeheartedly agree with (and am amused by the wording of too =).

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:38 EST