lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 13 Aug 2007 10:36:39 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Christoph Lameter <clameter@....com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
miklos@...redi.hu, akpm@...ux-foundation.org, neilb@...e.de,
dgc@....com, tomoki.sekiyama.qu@...achi.com, nikita@...sterfs.com,
trond.myklebust@....uio.no, yingchao.zhou@...il.com,
richard@....demon.co.uk, torvalds@...ux-foundation.org
Subject: Re: [PATCH 17/23] mm: count writeback pages per BDI
On Thu, 2007-08-09 at 12:27 -0700, Christoph Lameter wrote:
> On Thu, 9 Aug 2007, Peter Zijlstra wrote:
>
> > Less conditionals. We already have a branch for mapping, why create
> > another?
>
> Ah. Okay. This also avoids an interrupt enable disable since you can use
> __ functions. Hmmm... Would be good if we could move the vmstat
> NR_WRITEBACK update there too. Can a page without a mapping be under
> writeback? (Direct I/O?)
DIO still uses the mapping afaik (it needs to invalidate the page before
and after the OP).
But you could put the increment in both paths, and use the irq disable
from the mapping branch - which should be the most frequent case anyway.
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists