Re: 2 page kernel stacks in older kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mulyadi,

Thanks for your response. But, DMA doesn't happen to the stack so its
ok if the (2-page)stack is not physically contiguous as long as it is
virtually contiguous?

I'm talking in terms of the processor architecture where all memory
accesses are infact virtual when paging
is turned on, so should accesses to the stack be?

I think the answer to my question might be kernel memory is directly
mapped to physical memory (LOW MEM), and so anything contiguous in the
kernel's virtual address space is also physically contiguous. Yes?

Thanks,
-Joel

On Sun, Dec 13, 2009 at 11:52 PM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
> Sorry, pressing "send" button to send.
>
> Imagine if data copied span between those pages, then data on the
> second page will be left out because DMA operation thinks in physical
> address while the second page might not be physically adjacent.
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux