From: "Hillf Danton" <hillf.zj@alibaba-inc.com>
To: Vlastimil Babka <vbabka@suse.cz>
Cc: linux-mm@kvack.org, 'Jerome Marchand' <jmarchan@redhat.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
'Andrew Morton' <akpm@linux-foundation.org>,
linux-doc@vger.kernel.org, 'Hugh Dickins' <hughd@google.com>,
'Michal Hocko' <mhocko@suse.cz>,
"'Kirill A. Shutemov'" <kirill.shutemov@linux.intel.com>,
'Cyrill Gorcunov' <gorcunov@openvz.org>,
Hillf Danton <hillf.zj@alibaba-inc.com>
Subject: Re: [PATCH 3/4] mm, shmem: Add shmem resident memory accounting
Date: Fri, 27 Feb 2015 12:01:53 +0800 [thread overview]
Message-ID: <0be701d05242$202c2eb0$60848c10$@alibaba-inc.com> (raw)
> @@ -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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2015-02-27 4:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 4:01 Hillf Danton [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-26 13:51 [PATCH 0/4] enhance shmem process and swap accounting Vlastimil Babka
2015-02-26 13:51 ` [PATCH 3/4] mm, shmem: Add shmem resident memory accounting Vlastimil Babka
2015-02-26 14:59 ` Jerome Marchand
2015-03-27 16:39 ` Vlastimil Babka
2015-02-27 10:38 ` Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0be701d05242$202c2eb0$60848c10$@alibaba-inc.com' \
--to=hillf.zj@alibaba-inc.com \
--cc=akpm@linux-foundation.org \
--cc=gorcunov@openvz.org \
--cc=hughd@google.com \
--cc=jmarchan@redhat.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.cz \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox