Re: [PATCH] mm->rss is modified without page_table_lock held

From: David S. Miller (davem@redhat.com)
Date: Sat Dec 09 2000 - 07:32:21 EST


   Date: Sat, 09 Dec 2000 11:25:09 +0100
   From: Roberto Fichera <kernel@tekno-soft.it>

   Why we couldn't use atomic_inc(&mm->rss) here and below, avoiding to wrap
   the inc with a spin_lock()/spin_unlock() ?

atomic_t does not guarentee a large enough range necessary for mm->rss

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:17 EST