public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Avoiding BIGMEM support programatically.
@ 2005-07-18 14:56 vamsi krishna
  2005-07-18 19:18 ` Fawad Lateef
  0 siblings, 1 reply; 2+ messages in thread
From: vamsi krishna @ 2005-07-18 14:56 UTC (permalink / raw)
  To: linux-kernel

Hello All,

I have a program working fine on a 2.6.xx-smp kernel, and the program
crashes on the same version kernel with bigmem i.e (2.6.xxx-bigmem).

I also found that for a same executable on bigmem kernel the virtual
address's of '&_start' and '&_etext', seem to vary in every new run.

Is there any way I can avoid the kernel's bigmem virtual address
mapping programatically? and still run the program on a bigmem kernel?

Really appreciate your help in this context.

Best Regards,
Vamsi Kundeti.

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

* Re: Avoiding BIGMEM support programatically.
  2005-07-18 14:56 Avoiding BIGMEM support programatically vamsi krishna
@ 2005-07-18 19:18 ` Fawad Lateef
  0 siblings, 0 replies; 2+ messages in thread
From: Fawad Lateef @ 2005-07-18 19:18 UTC (permalink / raw)
  To: vamsi krishna; +Cc: linux-kernel

On 7/18/05, vamsi krishna <vamsi.krishnak@gmail.com> wrote:
> Hello All,
> 
> I have a program working fine on a 2.6.xx-smp kernel, and the program
> crashes on the same version kernel with bigmem i.e (2.6.xxx-bigmem).
> 

What is your program ??? what it is doing ??? Can u explain ?? or send
some code portion ?? b/c the BIGMEM kernel and smp/normal kenel has
only a difference of HIGHMEM64G which allows system/kernel on x86 to
use physical memory upto 64GB ..... and enabling this creates
little-bit overhead on the kernel, but I don't think it will effect
the working of most of the kernel modules ......

> I also found that for a same executable on bigmem kernel the virtual
> address's of '&_start' and '&_etext', seem to vary in every new run.
> 

I don't know abt this, so can't say any thing ....

> Is there any way I can avoid the kernel's bigmem virtual address
> mapping programatically? and still run the program on a bigmem kernel?
> 

I think this can be done through specifying GFP_ATOMIC flag in the
memory allocation function, so that it will use ZONE_NORMAL of the
kernel ....... (if i m wrong, then plzz do correct me)

-- 
Fawad Lateef

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

end of thread, other threads:[~2005-07-18 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 14:56 Avoiding BIGMEM support programatically vamsi krishna
2005-07-18 19:18 ` Fawad Lateef

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