Is demand paging enabled in linux kernels of Android?

manty kuma mantykuma at gmail.com
Wed Mar 19 12:07:37 EDT 2014


Hi Dave,
Very sorry to mispell your name. Apolodies.

Sandeep

On Thursday, March 20, 2014, manty kuma <mantykuma at gmail.com> wrote:

> Thanks david. So my next question was that is it enabled in linux kernel
> that android uses. How do i confirm it?
>
> On Thursday, March 20, 2014, Dave Hylands <dhylands at gmail.com<javascript:_e(%7B%7D,'cvml','dhylands at gmail.com');>>
> wrote:
>
>> Hi Sandeep,
>>
>>
>> On Wed, Mar 19, 2014 at 4:48 AM, manty kuma <mantykuma at gmail.com> wrote:
>> >
>> > Hi,
>> >
>> > Suppose I have an executable of size 60MB and I want to execute it on
>> > android(ARM), will 60MB be allocated to load the code onto the RAM?
>> >
>> > I remember studying about demand paging in Linux kernel. Is it
>> > relevant here? If yes, is it implemented in Linux kernels used in
>> > Android?
>>
>> All executables are brought into memory through demand paging. So the
>> kernel will only load those parts of the executable that are actually
>> executed.
>>
>> Swap isn't typically enabled by default though (I don't recall the exact
>> config options).
>>
>> --
>> Dave Hylands
>> Shuswap, BC, Canada
>> http://www.davehylands.com
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140320/1956c87e/attachment.html 


More information about the Kernelnewbies mailing list