Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622037
| From | Hoeun Ryu <hoeun.ryu@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas |
| Date | 2017-04-12 13:50 +0200 |
| Message-ID | <tvoWC-3Wi-13@gated-at.bofh.it> (permalink) |
| References | <tviHv-nw-1@gated-at.bofh.it> <tvjDA-Xu-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> On Apr 12, 2017, at 3:02 PM, Christoph Hellwig <hch@infradead.org> wrote: > >> On Wed, Apr 12, 2017 at 02:01:59PM +0900, Hoeun Ryu wrote: >> vm_area_add_early/vm_area_register_early() are used to reserve vmalloc area >> during boot process and those virtually mapped areas are never unmapped. >> So `OR` VM_STATIC flag to the areas in vmalloc_init() when importing >> existing vmlist entries and prevent those areas from being removed from the >> rbtree by accident. > > How would they be removed "by accident"? I don't mean actual use-cases, but I just want to make it robust against like programming errors.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Hoeun Ryu <hoeun.ryu@gmail.com> - 2017-04-12 07:10 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Christoph Hellwig <hch@infradead.org> - 2017-04-12 08:10 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Hoeun Ryu <hoeun.ryu@gmail.com> - 2017-04-12 13:50 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Christoph Hellwig <hch@infradead.org> - 2017-04-12 19:40 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Ho-Eun Ryu <hoeun.ryu@gmail.com> - 2017-04-13 03:10 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-04-13 06:20 +0200
Re: [PATCH] mm: add VM_STATIC flag to vmalloc and prevent from removing the areas Hoeun Ryu <hoeun.ryu@gmail.com> - 2017-04-14 02:30 +0200
csiph-web