From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932555AbdJXKWy (ORCPT ); Tue, 24 Oct 2017 06:22:54 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:53016 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932282AbdJXKWu (ORCPT ); Tue, 24 Oct 2017 06:22:50 -0400 From: Will Deacon To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, Will Deacon Subject: [PATCH v2 0/5] Get rid of lockless_dereference() Date: Tue, 24 Oct 2017 11:22:45 +0100 Message-Id: <1508840570-22169-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ingo, Paul, Here's another spin of the patches removing lockless_dereference(), taking into account Ingo's review comments. Thanks, Will --->8 Will Deacon (5): linux/compiler.h: Split into compiler.h and compiler_types.h locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE() locking/barriers: Convert users of lockless_dereference() to READ_ONCE() locking/barriers: Kill lockless_dereference() alpha: atomics: Add smp_read_barrier_depends() to release/relaxed atomics Documentation/memory-barriers.txt | 12 - .../translations/ko_KR/memory-barriers.txt | 12 - arch/alpha/include/asm/atomic.h | 13 + arch/arm/include/asm/ptrace.h | 3 +- arch/sparc/include/asm/ptrace.h | 1 + arch/um/include/shared/init.h | 2 +- arch/x86/events/core.c | 2 +- arch/x86/include/asm/mmu_context.h | 4 +- arch/x86/kernel/ldt.c | 2 +- drivers/md/dm-mpath.c | 20 +- fs/dcache.c | 4 +- fs/overlayfs/ovl_entry.h | 2 +- fs/overlayfs/readdir.c | 2 +- include/linux/compiler-clang.h | 2 +- include/linux/compiler-gcc.h | 2 +- include/linux/compiler-intel.h | 2 +- include/linux/compiler.h | 286 +-------------------- include/linux/compiler_types.h | 274 ++++++++++++++++++++ include/linux/linkage.h | 2 +- include/linux/rculist.h | 4 +- include/linux/rcupdate.h | 4 +- include/uapi/linux/stddef.h | 2 +- kernel/events/core.c | 4 +- kernel/seccomp.c | 2 +- kernel/task_work.c | 2 +- mm/slab.h | 2 +- scripts/headers_install.sh | 2 +- 27 files changed, 327 insertions(+), 342 deletions(-) create mode 100644 include/linux/compiler_types.h -- 2.1.4