linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages()
@ 2013-10-31 12:52 Zhi Yong Wu
  2013-10-31 12:52 ` [PATCH 2/2] mm: fix the comment in zlc_setup() Zhi Yong Wu
  2013-11-04  8:12 ` [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Zhi Yong Wu @ 2013-10-31 12:52 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, Zhi Yong Wu

From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
 arch/x86/mm/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 04664cd..64d860f 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -53,12 +53,12 @@ __ref void *alloc_low_pages(unsigned int num)
 	if ((pgt_buf_end + num) > pgt_buf_top || !can_use_brk_pgt) {
 		unsigned long ret;
 		if (min_pfn_mapped >= max_pfn_mapped)
-			panic("alloc_low_page: ran out of memory");
+			panic("alloc_low_pages: ran out of memory");
 		ret = memblock_find_in_range(min_pfn_mapped << PAGE_SHIFT,
 					max_pfn_mapped << PAGE_SHIFT,
 					PAGE_SIZE * num , PAGE_SIZE);
 		if (!ret)
-			panic("alloc_low_page: can not alloc memory");
+			panic("alloc_low_pages: can not alloc memory");
 		memblock_reserve(ret, PAGE_SIZE * num);
 		pfn = ret >> PAGE_SHIFT;
 	} else {
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] mm: fix the comment in zlc_setup()
  2013-10-31 12:52 [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu
@ 2013-10-31 12:52 ` Zhi Yong Wu
  2013-11-04  8:13   ` Zhi Yong Wu
  2013-11-04  8:12 ` [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu
  1 sibling, 1 reply; 4+ messages in thread
From: Zhi Yong Wu @ 2013-10-31 12:52 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, Zhi Yong Wu

From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
 mm/page_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index dd886fa..3d94d0c 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1711,7 +1711,7 @@ bool zone_watermark_ok_safe(struct zone *z, int order, unsigned long mark,
  * comments in mmzone.h.  Reduces cache footprint of zonelist scans
  * that have to skip over a lot of full or unallowed zones.
  *
- * If the zonelist cache is present in the passed in zonelist, then
+ * If the zonelist cache is present in the passed zonelist, then
  * returns a pointer to the allowed node mask (either the current
  * tasks mems_allowed, or node_states[N_MEMORY].)
  *
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages()
  2013-10-31 12:52 [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu
  2013-10-31 12:52 ` [PATCH 2/2] mm: fix the comment in zlc_setup() Zhi Yong Wu
@ 2013-11-04  8:12 ` Zhi Yong Wu
  1 sibling, 0 replies; 4+ messages in thread
From: Zhi Yong Wu @ 2013-11-04  8:12 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel mlist, Zhi Yong Wu, akpm

CCed Andrew Morton

On Thu, Oct 31, 2013 at 8:52 PM, Zhi Yong Wu <zwu.kernel@gmail.com> wrote:
> From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
>
> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> ---
>  arch/x86/mm/init.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
> index 04664cd..64d860f 100644
> --- a/arch/x86/mm/init.c
> +++ b/arch/x86/mm/init.c
> @@ -53,12 +53,12 @@ __ref void *alloc_low_pages(unsigned int num)
>         if ((pgt_buf_end + num) > pgt_buf_top || !can_use_brk_pgt) {
>                 unsigned long ret;
>                 if (min_pfn_mapped >= max_pfn_mapped)
> -                       panic("alloc_low_page: ran out of memory");
> +                       panic("alloc_low_pages: ran out of memory");
>                 ret = memblock_find_in_range(min_pfn_mapped << PAGE_SHIFT,
>                                         max_pfn_mapped << PAGE_SHIFT,
>                                         PAGE_SIZE * num , PAGE_SIZE);
>                 if (!ret)
> -                       panic("alloc_low_page: can not alloc memory");
> +                       panic("alloc_low_pages: can not alloc memory");
>                 memblock_reserve(ret, PAGE_SIZE * num);
>                 pfn = ret >> PAGE_SHIFT;
>         } else {
> --
> 1.7.11.7
>
> --
> 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>



-- 
Regards,

Zhi Yong Wu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] mm: fix the comment in zlc_setup()
  2013-10-31 12:52 ` [PATCH 2/2] mm: fix the comment in zlc_setup() Zhi Yong Wu
@ 2013-11-04  8:13   ` Zhi Yong Wu
  0 siblings, 0 replies; 4+ messages in thread
From: Zhi Yong Wu @ 2013-11-04  8:13 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel mlist, Zhi Yong Wu, akpm

CCed Andrew Morton

On Thu, Oct 31, 2013 at 8:52 PM, Zhi Yong Wu <zwu.kernel@gmail.com> wrote:
> From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
>
> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> ---
>  mm/page_alloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index dd886fa..3d94d0c 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -1711,7 +1711,7 @@ bool zone_watermark_ok_safe(struct zone *z, int order, unsigned long mark,
>   * comments in mmzone.h.  Reduces cache footprint of zonelist scans
>   * that have to skip over a lot of full or unallowed zones.
>   *
> - * If the zonelist cache is present in the passed in zonelist, then
> + * If the zonelist cache is present in the passed zonelist, then
>   * returns a pointer to the allowed node mask (either the current
>   * tasks mems_allowed, or node_states[N_MEMORY].)
>   *
> --
> 1.7.11.7
>
> --
> 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>



-- 
Regards,

Zhi Yong Wu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-04  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31 12:52 [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu
2013-10-31 12:52 ` [PATCH 2/2] mm: fix the comment in zlc_setup() Zhi Yong Wu
2013-11-04  8:13   ` Zhi Yong Wu
2013-11-04  8:12 ` [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages() Zhi Yong Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).