linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
@ 2002-09-11 14:48 Steven Cole
  2002-09-11 15:05 ` Martin J. Bligh
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Cole @ 2002-09-11 14:48 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Seth, Rohit, linux-mm

Here is a stab in the dark at a help entry for CONFIG_HUGETLB_PAGE,
which is added by the lpp.patch (ia32 huge tlb pages) in 2.5.34-mm1.

Please correct as needed.

Steven


--- linux-2.5.34-mm1/arch/i386/Config.help.orig	Wed Sep 11 07:54:49 2002
+++ linux-2.5.34-mm1/arch/i386/Config.help	Wed Sep 11 07:58:18 2002
@@ -25,6 +25,15 @@
 
   If you don't know what to do here, say N.
 
+CONFIG_HUGETLB_PAGE
+  This enables support for huge pages (4MB for x86).  User space
+  applications can make use of this support with the sys_alloc_hugepages
+  and sys_free_hugepages system calls.  If your applications are
+  huge page aware and your processor (Pentium or later for x86) supports
+  this, then say Y here.
+
+  Otherwise, say N.
+
 CONFIG_PREEMPT
   This option reduces the latency of the kernel when reacting to
   real-time or interactive events by allowing a low priority process to

"One hot tip: if you spot a bug which is being ignored, send a
completely botched fix  to the mailing list. This causes thousands of
kernel developers to rally to the cause.  Nobody knows why this happens.
(I really have deliberately done this several times. It works)."

akpm in kerneltrap interview

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

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

* Re: [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
  2002-09-11 14:48 [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE Steven Cole
@ 2002-09-11 15:05 ` Martin J. Bligh
  2002-09-11 15:17   ` Steven Cole
  0 siblings, 1 reply; 5+ messages in thread
From: Martin J. Bligh @ 2002-09-11 15:05 UTC (permalink / raw)
  To: Steven Cole, Andrew Morton; +Cc: Seth, Rohit, linux-mm

 
> +CONFIG_HUGETLB_PAGE
> +  This enables support for huge pages (4MB for x86).  User space
> +  applications can make use of this support with the sys_alloc_hugepages
> +  and sys_free_hugepages system calls.  If your applications are
> +  huge page aware and your processor (Pentium or later for x86) supports
> +  this, then say Y here.
> +
> +  Otherwise, say N.

They're not always 4Mb on x86 ... they're 2Mb if you have PAE 
turned on ... maybe just leave out the "(4MB for x86)" comment?

M.

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

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

* Re: [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
  2002-09-11 15:05 ` Martin J. Bligh
@ 2002-09-11 15:17   ` Steven Cole
  2002-09-11 15:29     ` Martin J. Bligh
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Cole @ 2002-09-11 15:17 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: Andrew Morton, Seth, Rohit, linux-mm

On Wed, 2002-09-11 at 09:05, Martin J. Bligh wrote:
>  
> > +CONFIG_HUGETLB_PAGE
> > +  This enables support for huge pages (4MB for x86).  User space
> > +  applications can make use of this support with the sys_alloc_hugepages
> > +  and sys_free_hugepages system calls.  If your applications are
> > +  huge page aware and your processor (Pentium or later for x86) supports
> > +  this, then say Y here.
> > +
> > +  Otherwise, say N.
> 
> They're not always 4Mb on x86 ... they're 2Mb if you have PAE 
> turned on ... maybe just leave out the "(4MB for x86)" comment?
> 
> M.

Better?

--- linux-2.5.34-mm1/arch/i386/Config.help.orig	Wed Sep 11 07:54:49 2002
+++ linux-2.5.34-mm1/arch/i386/Config.help	Wed Sep 11 09:14:52 2002
@@ -25,6 +25,15 @@
 
   If you don't know what to do here, say N.
 
+CONFIG_HUGETLB_PAGE
+  This enables support for huge pages.  User space applications
+  can make use of this support with the sys_alloc_hugepages and
+  sys_free_hugepages system calls.  If your applications are
+  huge page aware and your processor (Pentium or later for x86)
+  supports this, then say Y here.
+
+  Otherwise, say N.
+
 CONFIG_PREEMPT
   This option reduces the latency of the kernel when reacting to
   real-time or interactive events by allowing a low priority process to

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

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

* Re: [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
  2002-09-11 15:17   ` Steven Cole
@ 2002-09-11 15:29     ` Martin J. Bligh
  0 siblings, 0 replies; 5+ messages in thread
From: Martin J. Bligh @ 2002-09-11 15:29 UTC (permalink / raw)
  To: Steven Cole; +Cc: Andrew Morton, Seth, Rohit, linux-mm

> Better?

Yup - sorry ... I was nitpicking, but best not to spread confusion. 
Now all we have to do is fix the code so you don't have to say 
"if your applications are huge page aware" ;-)

Thanks,

M.

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

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

* RE: [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
@ 2002-09-11 17:39 Seth, Rohit
  0 siblings, 0 replies; 5+ messages in thread
From: Seth, Rohit @ 2002-09-11 17:39 UTC (permalink / raw)
  To: 'Steven Cole', Martin J. Bligh
  Cc: Andrew Morton, Seth, Rohit, linux-mm

Thanks Steve.  Your description in config.help file looks good.


> -----Original Message-----
> From: Steven Cole [mailto:elenstev@mesatop.com]
> Sent: Wednesday, September 11, 2002 8:18 AM
> To: Martin J. Bligh
> Cc: Andrew Morton; Seth, Rohit; linux-mm@kvack.org
> Subject: Re: [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE
> 
> 
> On Wed, 2002-09-11 at 09:05, Martin J. Bligh wrote:
> >  
> > > +CONFIG_HUGETLB_PAGE
> > > +  This enables support for huge pages (4MB for x86).  User space
> > > +  applications can make use of this support with the 
> sys_alloc_hugepages
> > > +  and sys_free_hugepages system calls.  If your applications are
> > > +  huge page aware and your processor (Pentium or later 
> for x86) supports
> > > +  this, then say Y here.
> > > +
> > > +  Otherwise, say N.
> > 
> > They're not always 4Mb on x86 ... they're 2Mb if you have PAE 
> > turned on ... maybe just leave out the "(4MB for x86)" comment?
> > 
> > M.
> 
> Better?
> 
> --- linux-2.5.34-mm1/arch/i386/Config.help.orig	Wed Sep 
> 11 07:54:49 2002
> +++ linux-2.5.34-mm1/arch/i386/Config.help	Wed Sep 11 09:14:52 2002
> @@ -25,6 +25,15 @@
>  
>    If you don't know what to do here, say N.
>  
> +CONFIG_HUGETLB_PAGE
> +  This enables support for huge pages.  User space applications
> +  can make use of this support with the sys_alloc_hugepages and
> +  sys_free_hugepages system calls.  If your applications are
> +  huge page aware and your processor (Pentium or later for x86)
> +  supports this, then say Y here.
> +
> +  Otherwise, say N.
> +
>  CONFIG_PREEMPT
>    This option reduces the latency of the kernel when reacting to
>    real-time or interactive events by allowing a low priority 
> process to
> 
--
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/

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

end of thread, other threads:[~2002-09-11 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-11 14:48 [PATCH] Config.help entry for CONFIG_HUGETLB_PAGE Steven Cole
2002-09-11 15:05 ` Martin J. Bligh
2002-09-11 15:17   ` Steven Cole
2002-09-11 15:29     ` Martin J. Bligh
2002-09-11 17:39 Seth, Rohit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox