Re: [BK-2.4] [PATCH] Small do_mmap_pgoff correction

DervishD (raul@pleyades.net)
Wed, 11 Dec 2002 13:32:51 +0100


Hi David :)

> Perfect :) If you want, I can make the patch and tell to Alan and
> Linus. Anyway, I think you will better heared than me O:))
> If you could take care of this, I would really be happy.

OK, then, I'll prepare the patch.

> Anyway, I'll take a look at a new macro (lets say PAGE_ALIGN_SIZE
> or something as ugly as this ;)))
> How many places do we try to apply PAGE_ALIGN to a length?
> If it's just one or two spots, perhaps the special macro
> isn't worthwhile.

I've seen four or five, without a detailed examination. Anyway,
since it would be a dangerous change (being in the MM code), I'll
count ocurrences and problems. There is no intrinsic problem in using
PAGE_ALIGN on a size if we know that size is small enough.

Thanks for all, Dave :)
Raśl
-
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/