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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0be701d05242$202c2eb0$60848c10$@alibaba-inc.com>
Date:	Fri, 27 Feb 2015 12:01:53 +0800
From:	"Hillf Danton" <hillf.zj@...baba-inc.com>
To:	"Vlastimil Babka" <vbabka@...e.cz>
Cc:	<linux-mm@...ck.org>, "'Jerome Marchand'" <jmarchan@...hat.com>,
	"linux-kernel" <linux-kernel@...r.kernel.org>,
	"'Andrew Morton'" <akpm@...ux-foundation.org>,
	<linux-doc@...r.kernel.org>, "'Hugh Dickins'" <hughd@...gle.com>,
	"'Michal Hocko'" <mhocko@...e.cz>,
	"'Kirill A. Shutemov'" <kirill.shutemov@...ux.intel.com>,
	"'Cyrill Gorcunov'" <gorcunov@...nvz.org>,
	"Hillf Danton" <hillf.zj@...baba-inc.com>
Subject: Re: [PATCH 3/4] mm, shmem: Add shmem resident memory accounting

> @@ -501,6 +502,7 @@ static void smaps_pte_entry(pte_t *pte, unsigned long addr,
>  					pte_none(*pte) && vma->vm_file) {
>  		struct address_space *mapping =
>  			file_inode(vma->vm_file)->i_mapping;
> +		pgoff_t pgoff = linear_page_index(vma, addr);
> 
>  		/*
>  		 * shmem does not use swap pte's so we have to consult

This hunk should go to patch 2/4
Hillf

--
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