Re: RFQ

2020-07-27 Thread Bilgin Küçükyaşar
___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org

Re: Can we change the S_DAX flag immediately on XFS without dropping caches?

2020-07-27 Thread Dave Chinner
On Tue, Jul 28, 2020 at 02:00:08AM +, Li, Hao wrote: > Hi, > > I have noticed that we have to drop caches to make the changing of S_DAX > flag take effect after using chattr +x to turn on DAX for a existing > regular file. The related function is xfs_diflags_to_iflags, whose > second parameter

Can we change the S_DAX flag immediately on XFS without dropping caches?

2020-07-27 Thread Li, Hao
Hi, I have noticed that we have to drop caches to make the changing of S_DAX flag take effect after using chattr +x to turn on DAX for a existing regular file. The related function is xfs_diflags_to_iflags, whose second parameter determines whether we should set S_DAX immediately. I can't figure

Re: Pocketing order7242020

2020-07-27 Thread rohini . raghav
___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org

Re: [PATCH v3] dax: print error message by pr_info() in __generic_fsdax_supported()

2020-07-27 Thread Jane Chu
On 7/27/2020 2:44 PM, Jan Kara wrote: On Mon 27-07-20 10:02:11, Jane Chu wrote: Hi, On 7/25/2020 9:24 AM, Coly Li wrote: It is not simple to make dax_supported() from struct dax_operations or __generic_fsdax_supported() to return exact failure type right now. So the simplest fix is to use pr_i

Re: [PATCH v3] dax: print error message by pr_info() in __generic_fsdax_supported()

2020-07-27 Thread Jan Kara
On Mon 27-07-20 10:02:11, Jane Chu wrote: > Hi, > > On 7/25/2020 9:24 AM, Coly Li wrote: > > It is not simple to make dax_supported() from struct dax_operations > > or __generic_fsdax_supported() to return exact failure type right now. > > So the simplest fix is to use pr_info() to print all the e

Re: [PATCH RFC V2 17/17] x86/entry: Preserve PKRS MSR across exceptions

2020-07-27 Thread Ira Weiny
On Fri, Jul 24, 2020 at 11:24:58PM +0200, Thomas Gleixner wrote: > Ira, > > Thomas Gleixner writes: > > Ira Weiny writes: > >> On Thu, Jul 23, 2020 at 09:53:20PM +0200, Thomas Gleixner wrote: > >> I think, after fixing my code (see below), using idtentry_state could still > >> work. If the per-

Re: [PATCH v2 4/7] arch, mm: wire up memfd_secret system call were relevant

2020-07-27 Thread Arnd Bergmann
On Mon, Jul 27, 2020 at 6:30 PM Mike Rapoport wrote: > > From: Mike Rapoport > > Wire up memfd_secret system call on architectures that define > ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. > > Signed-off-by: Mike Rapoport > Acked-by: Palmer Dabbelt Acked-by: Arnd Bergmann _

Re: [PATCH v2 7/7] mm: secretmem: add ability to reserve memory at boot

2020-07-27 Thread Mike Rapoport
Oops, something went wrong with the rebase, this should have been squashed into the previous patch... On Mon, Jul 27, 2020 at 07:29:35PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > Taking pages out from the direct map and bringing them back may create > undesired fragmentation and usag

Re: [PATCH v3] dax: print error message by pr_info() in __generic_fsdax_supported()

2020-07-27 Thread Jane Chu
Hi, On 7/25/2020 9:24 AM, Coly Li wrote: It is not simple to make dax_supported() from struct dax_operations or __generic_fsdax_supported() to return exact failure type right now. So the simplest fix is to use pr_info() to print all the error messages inside __generic_fsdax_supported(). Then use

[PATCH v2 3/7] mm: introduce memfd_secret system call to create "secret" memory areas

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Introduce "memfd_secret" system call with the ability to create memory areas visible only in the context of the owning process and not mapped not only to other processes but in the kernel page tables as well. The user will create a file descriptor using the memfd_secret() sys

[PATCH v2 6/7] mm: secretmem: add ability to reserve memory at boot

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Taking pages out from the direct map and bringing them back may create undesired fragmentation and usage of the smaller pages in the direct mapping of the physical memory. This can be avoided if a significantly large area of the physical memory would be reserved for secretmem

[PATCH v2 5/7] mm: secretmem: use PMD-size pages to amortize direct map fragmentation

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Removing a PAGE_SIZE page from the direct map every time such page is allocated for a secret memory mapping will cause severe fragmentation of the direct map. This fragmentation can be reduced by using PMD-size pages as a pool for small pages for secret memory mappings. Add a

[PATCH v2 2/7] mmap: make mlock_future_check() global

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport It will be used by the upcoming secret memory implementation. Signed-off-by: Mike Rapoport --- mm/internal.h | 3 +++ mm/mmap.c | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/internal.h b/mm/internal.h index 9886db20d94f..af0a92f8f6bc 10064

[PATCH v2 4/7] arch, mm: wire up memfd_secret system call were relevant

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Wire up memfd_secret system call on architectures that define ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. Signed-off-by: Mike Rapoport Acked-by: Palmer Dabbelt --- arch/arm64/include/asm/unistd32.h | 2 ++ arch/arm64/include/uapi/asm/unistd.h | 1 + arch/

[PATCH v2 7/7] mm: secretmem: add ability to reserve memory at boot

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Taking pages out from the direct map and bringing them back may create undesired fragmentation and usage of the smaller pages in the direct mapping of the physical memory. This can be avoided if a significantly large area of the physical memory would be reserved for secretmem

[PATCH v2 1/7] mm: add definition of PMD_PAGE_ORDER

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport The definition of PMD_PAGE_ORDER denoting the number of base pages in the second-level leaf page is already used by DAX and maybe handy in other cases as well. Several architectures already have definition of PMD_ORDER as the size of second level page table, so to avoid confl

[PATCH v2 0/7] mm: introduce memfd_secret system call to create "secret" memory areas

2020-07-27 Thread Mike Rapoport
From: Mike Rapoport Hi, This is an implementation of "secret" mappings backed by a file descriptor. v2 changes: * Follow Michael's suggestion and name the new system call 'memfd_secret' * Add kernel-parameters documentation about the boot option * Fix i386-tinyconfig regression reported by the

Re: [PATCH v3 10/11] PM, libnvdimm: Add runtime firmware activation support

2020-07-27 Thread Rafael J. Wysocki
On Tue, Jul 21, 2020 at 12:24 AM Dan Williams wrote: > > Abstract platform specific mechanics for nvdimm firmware activation > behind a handful of generic ops. At the bus level ->activate_state() > indicates the unified state (idle, busy, armed) of all DIMMs on the bus, > and ->capability() indica

Is online best essay writing service fine for writing academic’s essays?

2020-07-27 Thread lawrencesanchez1256
Essay writing is a very significant and essential task for academic’s internal grades. Therefore nowadays the academic essay writing task is rising in a very typical way. This task intention is to make students in a deep study on their academic tasks to get more knowledge. The task is also helpi

RE: Invoice & PL

2020-07-27 Thread Davide Bonaldo
___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org

Re: Pocketing order 1-3

2020-07-27 Thread anisa . uclswift
___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org