The patch titled Subject: mm/page_alloc.c: update comments for get/set_pfnblock_flags_mask has been added to the -mm tree. Its filename is mm-update-comments-for-get-set_pfnblock_flags_mask.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-update-comments-for-get-set_pfnblock_flags_mask.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-update-comments-for-get-set_pfnblock_flags_mask.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Qiang Huang <h.huangqiang@xxxxxxxxxx> Subject: mm/page_alloc.c: update comments for get/set_pfnblock_flags_mask These two functions changed many times and the comments are out of date. Signed-off-by: Qiang Huang <h.huangqiang@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff -puN mm/page_alloc.c~mm-update-comments-for-get-set_pfnblock_flags_mask mm/page_alloc.c --- a/mm/page_alloc.c~mm-update-comments-for-get-set_pfnblock_flags_mask +++ a/mm/page_alloc.c @@ -6045,10 +6045,11 @@ static inline int pfn_to_bitidx(struct z } /** - * get_pageblock_flags_group - Return the requested group of flags for the pageblock_nr_pages block of pages + * get_pfnblock_flags_mask - Return the requested group of flags for the pageblock_nr_pages block of pages * @page: The page within the block of interest - * @start_bitidx: The first bit of interest to retrieve + * @pfn: Page Number of the page * @end_bitidx: The last bit of interest + * @mask: The mask for flags * returns pageblock_bits flags */ unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn, @@ -6074,9 +6075,10 @@ unsigned long get_pfnblock_flags_mask(st /** * set_pfnblock_flags_mask - Set the requested group of flags for a pageblock_nr_pages block of pages * @page: The page within the block of interest - * @start_bitidx: The first bit of interest - * @end_bitidx: The last bit of interest * @flags: The flags to set + * @pfn: Page Number of the page + * @end_bitidx: The last bit of interest + * @mask: The mask for flags */ void set_pfnblock_flags_mask(struct page *page, unsigned long flags, unsigned long pfn, _ Patches currently in -mm which might be from h.huangqiang@xxxxxxxxxx are mm-update-comments-for-get-set_pfnblock_flags_mask.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html