Subject: Re: bce(4) and memory > 1GB problem
To: Yorick Hardy <yhardy@uj.ac.za>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-kern
Date: 01/22/2007 21:35:53
# Yorick Hardy 2007-01-22:
> >I suspect that, as off this is a multiple of PAGE_SIZE, 0x40000000 and
> >0x3fffffff gives the same result anyway, for uvm_pglistalloc().
> >If it's not ISA_DMA_BOUNCE_THRESHOLD would have been wrong for years ...
> >
> >Now, the x86 _bus_dmamem_alloc() calls trunc_page() on _bounce_alloc_hi,
> >so 0x3fffffff will become 0x3ffff000, and this is not the same thing.
> >
> >  
> Yes, thanks.
> 
> If I understood the code correctly, uvm_pglistalloc will not allocate
> the page containing high. So it seems I misunderstood anyway.

Sorry for confusion... (adding update of uvm(9) to my TODO list)

	-- Jachym