Indeed... but not for arbitrary pages (eg. locked by other
susbsystems, drivers or applications)
> I could just add the logic to have the information in O(1), but
> then you must know that at every allocation you'll have to insert a
> entry in a queue, and remove an entry from a queue at every
> umapping/freeing of memory. Anyway I'll think I'll do that very
> soon to improve and simplify a lot my update_shared_mappings and
> many other similar thing in order to handle all such things in
> O(1).
Won't this be fairly expensive?
-cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/