Re: How to free a page table page

2021-04-05 Thread Rik van Riel
On Tue, 2021-04-06 at 00:39 +0900, Wonkyo Choe wrote: > 1. In x86, are all page-table pages released at the end of > termination > by using free_pgtables()? > 2. In x86, a page-table page can be freed when there is no entry? In > other words, does the Linux kernel > release a page-table page on

Re: How to free a page table page

2021-04-05 Thread linux lover
I really appreciate it! Sent from my iPhone > On Apr 5, 2021, at 11:39 PM, Wonkyo Choe wrote: > > Hello there, > > I'm trying to manage a custom page table list for my toy project. > A basic process of the custom list is to allocate few pages (struct page) > to the list from the buddy

How to free a page table page

2021-04-05 Thread Wonkyo Choe
Hello there, I'm trying to manage a custom page table list for my toy project. A basic process of the custom list is to allocate few pages (struct page) to the list from the buddy allocator and the list will give some pages when a user process needs page table pages. In contrast, when this

Re: Notify special task kill using wait* functions

2021-04-05 Thread John Wood
Hi, On Sun, Apr 04, 2021 at 05:10:25PM -0400, Valdis Klētnieks wrote: > On Sun, 04 Apr 2021 11:48:37 +0200, John Wood said: > > > that exec and the child crashes is mitigated. The only drawback here, as > > point Andi, is that a supervisor respawns some process killed. To avoid > > this situation