Could interruptions be handled while current process context is switching?

2020-07-02 Thread 孙世龙 sunshilong
Could interruptions be handled while current process context is switching? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Is there some method or software that could purposely generate a lot of physical memory fragmentations on linux?

2020-07-02 Thread Valdis Klētnieks
On Thu, 02 Jul 2020 15:29:18 +0700, Mulyadi Santosa said: > Just pseudo idea, if this is in user space, try to: allocate many blocks > of memory using malloc, each having different size, keep the returned > pointer, then randomly free() some of them, then malloc() again with > different size

Re: Is there some method or software that could purposely generate a lot of physical memory fragmentations on linux?

2020-07-02 Thread 孙世龙 sunshilong
Hi, Valdis Klētnieks, Mulyadi Santosa Thanks to both of you. >> Just pseudo idea, if this is in user space, try to: allocate many blocks >> of memory using malloc, each having different size, keep the returned >> pointer, then randomly free() some of them, then malloc() again with >> different

Re: Is there some method or software that could purposely generate a lot of physical memory fragmentations on linux?

2020-07-02 Thread Mulyadi Santosa
On Tue, Jun 30, 2020 at 1:52 PM 孙世龙 sunshilong wrote: > Hi, list > Is there some method or software that could purposely generate a lot > of physical memory fragmentations on Linux? > > I need to do some tests under such circumstances. > > Thank you for your attention to this