[<prev] [next>] [day] [month] [year] [list]
Message-Id: <4761725A.76E4.0078.0@novell.com>
Date: Thu, 13 Dec 2007 16:56:42 +0000
From: "Jan Beulich" <jbeulich@...ell.com>
To: <James.Bottomley@...senPartnership.com>
Cc: <linux-kernel@...r.kernel.org>
Subject: __get_vm_area() with VM_IOREMAP
James,
in a change over three years ago, you added implicit aligning to
__get_vm_area() for VM_IOREMAP requests. I wonder, though,
whether it was intentional to over-align requests of sizes that are
an exact power of two (and between PAGE_SIZE and
(1 << IOREMAP_MAX_ORDER)). I would think that the argument of
fls() should be (size - 1) rather than size.
Thanks, Jan
--
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