Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1322624 > unrolled thread
| Started by | Matthew Wilcox <matthew.r.wilcox@intel.com> |
|---|---|
| First post | 2016-01-31 13:20 +0100 |
| Last post | 2016-01-31 13:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v4 8/8] ext4: Support for PUD-sized transparent huge pages Matthew Wilcox <matthew.r.wilcox@intel.com> - 2016-01-31 13:20 +0100
| From | Matthew Wilcox <matthew.r.wilcox@intel.com> |
|---|---|
| Date | 2016-01-31 13:20 +0100 |
| Subject | [PATCH v4 8/8] ext4: Support for PUD-sized transparent huge pages |
| Message-ID | <qWZ90-38Q-15@gated-at.bofh.it> |
From: Matthew Wilcox <willy@linux.intel.com> ext4 needs to reserve enough space in the journal to allocate a PUD-sized page. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> --- fs/ext4/file.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 71859ed..ec6664a 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -211,6 +211,10 @@ static int ext4_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf) nblocks = ext4_chunk_trans_blocks(inode, PMD_SIZE / PAGE_SIZE); break; + case FAULT_FLAG_SIZE_PUD: + nblocks = ext4_chunk_trans_blocks(inode, + PUD_SIZE / PAGE_SIZE); + break; default: return VM_FAULT_FALLBACK; } -- 2.7.0.rc3
Back to top | Article view | linux.kernel
csiph-web