Re: smp race fix between invalidate_inode_pages* and do_no_page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nick Piggin <[email protected]> wrote:
>
> (I guess reclaim might be one, but quite rare -- any other significant
>  lock_page users that we might hit?)

The only time 2.6 holds lock_page() for a significant duration is when
bringing the page uptodate with readpage or memset.

The scalability risk here is 100 CPUs all faulting in the same file in the
same pattern.  Like the workload which caused the page_table_lock splitup
(that was with anon pages).  All the CPUs could pretty easily get into sync
and start arguing over every single page's lock.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux