Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1518530
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] z3fold: use per-page read/write lock |
| Date | 2016-11-09 23:40 +0100 |
| Message-ID | <sBJHb-5by-1@gated-at.bofh.it> (permalink) |
| References | <sByLL-6cP-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool <vitalywool@gmail.com> wrote: > Subject: [PATCH v3] z3fold: use per-page read/write lock I've rewritten the title to "mm/z3fold.c: use per-page spinlock" (I prefer to have "mm" in the title to easily identify it as an MM patch, and using "mm: z3fold: ..." seems odd when the actual pathname conveys the same info.) > > Most of z3fold operations are in-page, such as modifying z3fold > page header or moving z3fold objects within a page. Taking > per-pool spinlock to protect per-page objects is therefore > suboptimal, and the idea of having a per-page spinlock (or rwlock) > has been around for some time. However, adding one directly to the > z3fold header makes the latter quite big on some systems so that > it won't fit in a signle chunk. > > This patch implements spinlock-based per-page locking mechanism > which is lightweight enough to fit into the z3fold header.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] z3fold: use per-page read/write lock Vitaly Wool <vitalywool@gmail.com> - 2016-11-09 12:00 +0100
Re: [PATCH v3] z3fold: use per-page read/write lock Andrew Morton <akpm@linux-foundation.org> - 2016-11-09 23:40 +0100
Re: [PATCH v3] z3fold: use per-page read/write lock Andi Kleen <andi@firstfloor.org> - 2016-11-10 00:10 +0100
Re: [PATCH v3] z3fold: use per-page read/write lock Thomas Gleixner <tglx@linutronix.de> - 2016-11-10 00:30 +0100
Re: [PATCH v3] z3fold: use per-page read/write lock Andrew Morton <akpm@linux-foundation.org> - 2016-11-10 01:40 +0100
csiph-web