Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5873774rwb; Tue, 22 Nov 2022 06:07:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DdGneFWqzVhOfqdd0tTdfAzOEDzyv8tR7wLr+JOWV6WtvEVGcUjKle7P80kt3knKEmCqC X-Received: by 2002:aa7:d88d:0:b0:469:a30c:3e4f with SMTP id u13-20020aa7d88d000000b00469a30c3e4fmr8580270edq.103.1669126021483; Tue, 22 Nov 2022 06:07:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669126021; cv=none; d=google.com; s=arc-20160816; b=bJye9Kf/sKwbA399Yacqz79w81isn8CIxz363Bd3ZT3QaMM7lWL7dss1HR8eu2rNRM bwX968eRjaNoyIR3cPluw6+PNtp8p2bMQcb9rmwSvVZA+oHinVuD4W3nqQ7IMtTtHhgn KS1nFa+BueUY18HVU1yJ5IDXGru9IZtlESuE7BFVtTF2/ZaYf8GZaSvDMXeAbj7rj+QH GQ8aMrFMaMXRvHZAXd212fGSfBbHz4UnW3SGU9o2XoOz/Mv2VQ2K8l/89lsNMaQ8tDrM h5ZW+k+Spks6Rt9TV4jP6A8PDpzcdJO2DqJxo7p0NiYPL9Rc79Uk21F/RdAfbwHQZuRB B+Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aKWA+AP/j4No4bfih7dsLGLYEDSONTbhMU2EZnn42zY=; b=r8F2XZeZuNSqV+6V5S/oBDSe4l1YV2TYs1Ax7z5tTw3myek5jmo4LqNnF/grTPZxWg h3vM9CFcpdgGAesmpMF3Sc/ik68kTNEtLtcznh/LWr3vgCwLDYOUbUJV+ZJ6UVb5FBPx 89d/4ywRY7oJ0h4BVpBPVECR4IYTQQk6rMWjpdZV57U5iAAv7JSyBdZDwBp0ma7vVgoF 76AxNXZpTy/xiq2wVhHsEsohnysas5BByY4thdqQIPFUqJZTSFOl4687J00NEx1dLIJq Jm4IzQXtV3RvRsmIBFGx6ej92V1qKykETL1Brc6troBW6OrxcoF5LAlcKeX1ZH8KP89U rMSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linbit-com.20210112.gappssmtp.com header.s=20210112 header.b=yXqcBlks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056402248c00b00459b0141076si11496026eda.465.2022.11.22.06.06.37; Tue, 22 Nov 2022 06:07:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linbit-com.20210112.gappssmtp.com header.s=20210112 header.b=yXqcBlks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233026AbiKVNnQ (ORCPT + 90 others); Tue, 22 Nov 2022 08:43:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232159AbiKVNnM (ORCPT ); Tue, 22 Nov 2022 08:43:12 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5131A079 for ; Tue, 22 Nov 2022 05:43:10 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id i12so20910124wrb.0 for ; Tue, 22 Nov 2022 05:43:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linbit-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aKWA+AP/j4No4bfih7dsLGLYEDSONTbhMU2EZnn42zY=; b=yXqcBlksNnAzv0JPWlfp4srNfOhY8LdfdyUH6IMUrCMEgBmllXo1rkX45wgp8bEyPn o8ZDOeQQWwfFcchSgMN2v/yoREFBb5mk5cZKlSvgr9G2bHzEJPK2C2Shly8AlYNQzPIZ tGFZxm+Hr6bZzvic10oX82/fbGRTgUiLr8j2zz9tOxRkl+n/T2TVumlxlbXW9IcDT9+y m/Q7WWyJlkk6fpEHUeJUH6ixlNsCx8eCN2LaSbFmUnW455OcLSLiBSLit2flL0IzhgUr jZfeYc2AmokRQ6JFxZWYiu46OczuCtDIIQ9DWeS7ZZET2H8ZVybDb4vdLbQjiHa9jNKY Pciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aKWA+AP/j4No4bfih7dsLGLYEDSONTbhMU2EZnn42zY=; b=EVVPsDgmmUXzXCq2JZCI7tvXWe2lbI9qENpYf5P1FvP8sjxGdwt/5aFZTXmISm/rup 4OMX4UjAiOTcGCLiNc/EAQfedGvYEX3MxOiv6dumCNJfKm6LJ5po5Dn9nYDqksqjev95 LKmDi1xTJfwv0t7lmtFXXgr1Ue8InxlcB+1jeNapuCtq3vRp4SxkAPltG/lUNkbJM8Gi 6zTx0fLdjsbjOQ9K3SHGEDxqjSsxE0XseVkSccGK+eCiiPubCAnQLWDYZMCsMrQJIs4C IxsI2qMnNxDbbTJRv0psKmOjvNDfVZeGNz5iODAtIvUgSR+CYqVEzEv1EdmmbJjPSFLn y+gg== X-Gm-Message-State: ANoB5pmanI7UGdVmQxzlgBY1Hxmhdu/WnhNFzcuxqkoPpBYf4ENTGwPe UKxdPn2Cb297niT51BOr2u1LiA== X-Received: by 2002:a05:6000:1148:b0:236:71cd:1a71 with SMTP id d8-20020a056000114800b0023671cd1a71mr14335072wrx.712.1669124589239; Tue, 22 Nov 2022 05:43:09 -0800 (PST) Received: from localhost.localdomain (h082218028181.host.wavenet.at. [82.218.28.181]) by smtp.gmail.com with ESMTPSA id p6-20020a1c5446000000b003b47e75b401sm21437729wmi.37.2022.11.22.05.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 05:43:08 -0800 (PST) From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= To: Jens Axboe Cc: drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, Lars Ellenberg , Philipp Reisner , linux-block@vger.kernel.org, =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= Subject: [PATCH 0/4] lru_cache improvements, DRBD license identifiers Date: Tue, 22 Nov 2022 14:42:57 +0100 Message-Id: <20221122134301.69258-1-christoph.boehmwalder@linbit.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here are some improvements to the lru_cache; mostly just cleanups that we missed to send upstream over the years. The last patch makes the SPDX license headers in DRBD consistent so that they all represent GPL 2.0. Christoph Böhmwalder (2): lru_cache: remove compiled out code drbd: use consistent license Joel Colledge (1): lru_cache: remove unused lc_private, lc_set, lc_index_of Lars Ellenberg (1): lru_cache: use atomic operations when accessing lc->flags, always drivers/block/drbd/Kconfig | 2 +- drivers/block/drbd/Makefile | 2 +- drivers/block/drbd/drbd_actlog.c | 2 +- drivers/block/drbd/drbd_bitmap.c | 2 +- drivers/block/drbd/drbd_debugfs.c | 2 +- drivers/block/drbd/drbd_debugfs.h | 2 +- drivers/block/drbd/drbd_int.h | 2 +- drivers/block/drbd/drbd_interval.c | 2 +- drivers/block/drbd/drbd_interval.h | 2 +- drivers/block/drbd/drbd_main.c | 2 +- drivers/block/drbd/drbd_nl.c | 2 +- drivers/block/drbd/drbd_nla.c | 2 +- drivers/block/drbd/drbd_nla.h | 2 +- drivers/block/drbd/drbd_proc.c | 2 +- drivers/block/drbd/drbd_protocol.h | 2 +- drivers/block/drbd/drbd_receiver.c | 2 +- drivers/block/drbd/drbd_req.c | 2 +- drivers/block/drbd/drbd_req.h | 2 +- drivers/block/drbd/drbd_state.c | 2 +- drivers/block/drbd/drbd_state.h | 2 +- drivers/block/drbd/drbd_state_change.h | 2 +- drivers/block/drbd/drbd_strings.c | 2 +- drivers/block/drbd/drbd_strings.h | 2 +- drivers/block/drbd/drbd_vli.h | 2 +- drivers/block/drbd/drbd_worker.c | 2 +- include/linux/lru_cache.h | 3 -- lib/lru_cache.c | 59 +------------------------- 27 files changed, 27 insertions(+), 85 deletions(-) -- 2.38.1