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
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <689eb3470908261422u50e59d9ex1a3c43fdc2f3d4e8@mail.gmail.com>
Date:	Wed, 26 Aug 2009 14:22:24 -0700
From:	Anupama Chandwani <anupama.chandwani@...il.com>
To:	linux kernel mailing list <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...l.org>,
	Andrew Morton <akpm@...l.org>
Cc:	Krishna Raj Raja <krraja@...are.com>, vrajesh@...are.com
Subject: Differentiating clean and dirty buffer cache pages

Hi,

I need to get stats about what pages in the buffer cache are clean versus dirty.
I traverse the page_tree pointer of the radix tree of each open file
to get all buffer cache pages.

To identify dirty pages, I think of doing the following:
Level 1. Do a gang lookup in radix tree for PAGECACHE_TAG_DIRTY tag,
Level 2. Check the PTE of buffer cache pages for bit 6(D)

I want to know if checking these two data structures will give me a
complete list of all the dirty pages in the buffer cache?


-- 
Cheers,
Anupama Chandwani
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ