Re: [PATCH 01 of 12] Core of mmu notifiers

From: Christoph Lameter
Date: Tue Apr 22 2008 - 16:19:41 EST


Thanks for adding most of my enhancements. But

1. There is no real need for invalidate_page(). Can be done with
invalidate_start/end. Needlessly complicates the API. One
of the objections by Andrew was that there mere multiple
callbacks that perform similar functions.

2. The locks that are used are later changed to semaphores. This is
f.e. true for mm_lock / mm_unlock. The diffs will be smaller if the
lock conversion is done first and then mm_lock is introduced. The
way the patches are structured means that reviewers cannot review the
final version of mm_lock etc etc. The lock conversion needs to come
first.

3. As noted by Eric and also contained in private post from yesterday by
me: The cmp function needs to retrieve the value before
doing comparisons which is not done for the == of a and b.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/