Re: Is demand paging enabled in linux kernels of Android?

2014-03-19 Thread Dave Hylands
Hi Sandeep, On Wed, Mar 19, 2014 at 4:48 AM, manty kuma mantyk...@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

Re: Is demand paging enabled in linux kernels of Android?

2014-03-19 Thread manty kuma
Hi Dave, Very sorry to mispell your name. Apolodies. Sandeep On Thursday, March 20, 2014, manty kuma mantyk...@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

Re: Is demand paging enabled in linux kernels of Android?

2014-03-19 Thread Greg Freemyer
Manty, I don't think there is a way in the linux kernel to disable demand paging at program initial execution, so there would be no pre-defined ABI for testing if it is enabled. Swap is a different matter, but it only applies to data pages or other dirty pages. The executable pages that get