* Vmalloc
[not found] <CAMGjyMubkhwFwHyfYHeJH4fUXOpexCtZ1RLgWDTRSw2Vf-86wg@mail.gmail.com>
@ 2016-09-06 14:42 ` Er Krishna
2016-09-06 18:36 ` Vmalloc Prabhunath G
0 siblings, 1 reply; 2+ messages in thread
From: Er Krishna @ 2016-09-06 14:42 UTC (permalink / raw)
To: kernelnewbies
> Hi all
>
> I have one confusion, so asking this question for understanding:
>
> Vmalloc return address are virtually contiguous or not ?
>
> Basically vmalloc return non contiguous memory from ram which may not be
one to one mapped in process kernel address space .
>
> Is my above understanding correct?
>
> Thanks
> Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160906/ab854fac/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Vmalloc
2016-09-06 14:42 ` Vmalloc Er Krishna
@ 2016-09-06 18:36 ` Prabhunath G
0 siblings, 0 replies; 2+ messages in thread
From: Prabhunath G @ 2016-09-06 18:36 UTC (permalink / raw)
To: kernelnewbies
vmalloc() may allocate non-contiguous physical memory and map it to
contiguous kernel virtual address.
For eg. if you ask for 10 page frames of physical memory i.e. 10 * 4K,
vmalloc() will scout for 10 page frames of physical memory, they need not
be contiguous,
and map them to contiguous kernel virtual address (last 128 MB of virtual
address in a 3G/1G partition, assuming >= 1GB of RAM)
This could be of some help and is also somewhat extension of your question
https://lists.kernelnewbies.org/pipermail/kernelnewbies/2011-June/002335.html
On Tue, Sep 6, 2016 at 8:12 PM, Er Krishna <erkrishna@gmail.com> wrote:
> > Hi all
> >
> > I have one confusion, so asking this question for understanding:
> >
> > Vmalloc return address are virtually contiguous or not ?
> >
> > Basically vmalloc return non contiguous memory from ram which may not be
> one to one mapped in process kernel address space .
> >
> > Is my above understanding correct?
> >
> > Thanks
> > Krishna
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Regards,
Prabhunath G
Linux Trainer
Bangalore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160907/52148ea0/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-06 18:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAMGjyMubkhwFwHyfYHeJH4fUXOpexCtZ1RLgWDTRSw2Vf-86wg@mail.gmail.com>
2016-09-06 14:42 ` Vmalloc Er Krishna
2016-09-06 18:36 ` Vmalloc Prabhunath G
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).