[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110207174125.GB3457@thunk.org>
Date: Mon, 7 Feb 2011 12:41:25 -0500
From: Ted Ts'o <tytso@....edu>
To: Amir Goldstein <amir73il@...il.com>
Cc: i@...y.li, linux-ext4@...r.kernel.org,
Alex Tomas <alex@...sterfs.com>,
Theodore Tso <tytso@...gle.com>
Subject: Re: [PATCH 0/5] mballoc: trivial code cleanup
On Sun, Feb 06, 2011 at 10:43:58AM +0200, Amir Goldstein wrote:
> When looking at alloc_sem, I realized that it is only needed to avoid
> race with adjacent group buddy initialization.
Actually, alloc_sem is used to protect all of the block group specific
data structures; the buddy bitmap counters, adjusting the buddy bitmap
itself, the largest free order in a block group, etc. So even in the
case where block_size == page_size, alloc_sem is still needed!
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists