Re: [PATCH 03/17] prmem: vmalloc support for dynamic allocation

2018-10-29 Thread Igor Stoppa
On 25/10/2018 01:26, Dave Hansen wrote: On 10/23/18 2:34 PM, Igor Stoppa wrote: +#define VM_PMALLOC 0x0100 /* pmalloc area - see docs */ +#define VM_PMALLOC_WR 0x0200 /* pmalloc write rare area */ +#define VM_PMALLOC_PROTECTED 0x0400 /* pmallo

Re: [PATCH 03/17] prmem: vmalloc support for dynamic allocation

2018-10-24 Thread Dave Hansen
On 10/23/18 2:34 PM, Igor Stoppa wrote: > +#define VM_PMALLOC 0x0100 /* pmalloc area - see docs */ > +#define VM_PMALLOC_WR0x0200 /* pmalloc write rare > area */ > +#define VM_PMALLOC_PROTECTED 0x0400 /* pmalloc protected area */ Please introdu

[PATCH 03/17] prmem: vmalloc support for dynamic allocation

2018-10-23 Thread Igor Stoppa
Prepare vmalloc for: - tagging areas used for dynamic allocation of protected memory - supporting various tags, related to the property that an area might have - extrapolating the pool containing a given area - chaining the areas in each pool - extrapolating the area containing a given memory addre