sometimes.
This applies the effect of defrag option of anonymous hugepage to shmem
hugepage too. By doing so, we can control the defrag behavior of both
kinds of THP.
This also explicitly adds the SHMEM_HUGE_ALWAYS case in
shmem_getpage_gfp, for better code reading.
Signed-off-by: Xu Yu
---
mm
ply fix it by testing ret of push_stack() before retoring dst_reg.
Signed-off-by: Xu Yu
---
kernel/bpf/verifier.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index ce166a0..cb1b874 100644
--- a/kernel/bpf/verifier.c
+++
ply fix it by checking whether cur_state is NULL before retoring
dst_reg.
Signed-off-by: Xu Yu
---
kernel/bpf/verifier.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index ce166a0..018ce4f 100644
--- a/kernel/bpf/verifier.c
+++
nvme_configure_admin_queue().
This patch fixes this issue by remapping BAR0 before accessing
admin CQ doorbell if the initial mapping is not enough.
Signed-off-by: Xu Yu
---
Changes since v2:
* Add a sanity check in nvme_remap_bar().
* Keep constant 4096 in nvme_dev_map().
Changes since v1:
* Move the
nvme_configure_admin_queue().
This patch fixes this issue by remapping BAR0 before accessing
admin CQ doorbell if the initial mapping is not enough.
Signed-off-by: Xu Yu
---
Changes since v1:
* Move the bar (re)mapping logic in nvme_dev_map(), nvme_configure_admin_queue()
and nvme_setup_io_queues() to
Thanks for your suggestion, we will try to make it better and resend the patch
soon.
-Original Message-
From: Christoph Hellwig [mailto:h...@lst.de]
Sent: Thursday, May 18, 2017 9:44 PM
To: Xu, Yu A
Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org; Busch, Keith
; ax
nvme_configure_admin_queue().
This patch fixes this issue by remapping BAR0 before accessing
admin CQ doorbell if the initial mapping is not enough.
Signed-off-by: "Xu, Yu A"
---
drivers/nvme/host/pci.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/nvme/host/pci.c
7 matches
Mail list logo