[PATCH] ubd: Remove unused mutex 'ubd_mutex'
From: "Dr. David Alan Gilbert" Commit fb5d1d389c9e ("ubd: open the backing files in ubd_add") removed the last use of ubd_mutex. Remove it. Build and kernel startup test only. Signed-off-by: Dr. David Alan Gilbert --- arch/um/drivers/ubd_kern.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 63fc062add708..2b855240fbabf 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c @@ -106,7 +106,6 @@ static inline void ubd_set_bit(__u64 bit, unsigned char *data) #define DRIVER_NAME "uml-blkdev" static DEFINE_MUTEX(ubd_lock); -static DEFINE_MUTEX(ubd_mutex); /* replaces BKL, might not be needed */ static int ubd_ioctl(struct block_device *bdev, blk_mode_t mode, unsigned int cmd, unsigned long arg); -- 2.45.0
Re: [PATCH mm-unstable v1 00/26] mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on all architectures with swap PTEs
Hello: This series was applied to riscv/linux.git (for-next) by Andrew Morton : On Fri, 13 Jan 2023 18:10:00 +0100 you wrote: > This is the follow-up on [1]: > [PATCH v2 0/8] mm: COW fixes part 3: reliable GUP R/W FOLL_GET of > anonymous pages > > After we implemented __HAVE_ARCH_PTE_SWP_EXCLUSIVE on most prominent > enterprise architectures, implement __HAVE_ARCH_PTE_SWP_EXCLUSIVE on all > remaining architectures that support swap PTEs. > > [...] Here is the summary with links: - [mm-unstable,v1,01/26] mm/debug_vm_pgtable: more pte_swp_exclusive() sanity checks (no matching commit) - [mm-unstable,v1,02/26] alpha/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,03/26] arc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,04/26] arm/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,05/26] csky/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,06/26] hexagon/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,07/26] ia64/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,08/26] loongarch/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,09/26] m68k/mm: remove dummy __swp definitions for nommu (no matching commit) - [mm-unstable,v1,10/26] m68k/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,11/26] microblaze/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,12/26] mips/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,13/26] nios2/mm: refactor swap PTE layout (no matching commit) - [mm-unstable,v1,14/26] nios2/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,15/26] openrisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,16/26] parisc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,17/26] powerpc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on 32bit book3s (no matching commit) - [mm-unstable,v1,18/26] powerpc/nohash/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,19/26] riscv/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE https://git.kernel.org/riscv/c/51a1007d4113 - [mm-unstable,v1,20/26] sh/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,21/26] sparc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on 32bit (no matching commit) - [mm-unstable,v1,22/26] sparc/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE on 64bit (no matching commit) - [mm-unstable,v1,23/26] um/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,24/26] x86/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE also on 32bit (no matching commit) - [mm-unstable,v1,25/26] xtensa/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) - [mm-unstable,v1,26/26] mm: remove __HAVE_ARCH_PTE_SWP_EXCLUSIVE (no matching commit) You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um
Re: [PATCH v2 1/2] kbuild: unify vdso_install rules
Hello: This series was applied to riscv/linux.git (fixes) by Masahiro Yamada : On Sat, 14 Oct 2023 19:54:35 +0900 you wrote: > Currently, there is no standard implementation for vdso_install, > leading to various issues: > > 1. Code duplication > > Many architectures duplicate similar code just for copying files > to the install destination. > > [...] Here is the summary with links: - [v2,1/2] kbuild: unify vdso_install rules https://git.kernel.org/riscv/c/56769ba4b297 - [v2,2/2] kbuild: unify no-compiler-targets and no-sync-config-targets https://git.kernel.org/riscv/c/9d361173edc4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um
Re: [PATCH v2 0/6] Account page tables at all levels
Hello: This series was applied to riscv/linux.git (fixes) by Andrew Morton : On Fri, 3 Jan 2025 18:44:09 + you wrote: > v1: > https://lore.kernel.org/linux-mm/20241219164425.2277022-1-kevin.brod...@arm.com/ > > This series should be considered in conjunction with Qi's series [1]. > Together, they ensure that page table ctor/dtor are called at all levels > (PTE to PGD) and all architectures, where page tables are regular pages. > Besides the improvement in accounting and general cleanup, this also > create a single place where construction/destruction hooks can be called > for all page tables, namely the now-generic pagetable_dtor() introduced > by Qi, and __pagetable_ctor() introduced in this series. > > [...] Here is the summary with links: - [v2,1/6] mm: Move common part of pagetable_*_ctor to helper https://git.kernel.org/riscv/c/11e2400b21a3 - [v2,2/6] parisc: mm: Ensure pagetable_pmd_[cd]tor are called https://git.kernel.org/riscv/c/3565522e15eb - [v2,3/6] m68k: mm: Add calls to pagetable_pmd_[cd]tor https://git.kernel.org/riscv/c/1879688e5c42 - [v2,4/6] ARM: mm: Rename PGD helpers https://git.kernel.org/riscv/c/94771023712a - [v2,5/6] asm-generic: pgalloc: Provide generic __pgd_{alloc,free} https://git.kernel.org/riscv/c/a9b3c355c2e6 - [v2,6/6] mm: Introduce ctor/dtor at PGD level https://git.kernel.org/riscv/c/d95936a2267c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Re: [PATCH 1/2] asm-generic: provide generic page_to_phys and phys_to_page implementations
Hello: This series was applied to riscv/linux.git (fixes) by Arnd Bergmann : On Wed, 23 Oct 2024 07:36:36 +0200 you wrote: > page_to_phys is duplicated by all architectures, and from some strange > reason placed in where it doesn't fit at all. > > phys_to_page is only provided by a few architectures despite having a lot > of open coded users. > > Provide generic versions in to make these > helpers more easily usable. > > [...] Here is the summary with links: - [1/2] asm-generic: provide generic page_to_phys and phys_to_page implementations https://git.kernel.org/riscv/c/c5c3238d9b8c - [2/2] asm-generic: add an optional pfn_valid check to page_to_phys https://git.kernel.org/riscv/c/3e25d5a49f99 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html