Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp527961imd; Fri, 26 Oct 2018 12:23:41 -0700 (PDT) X-Google-Smtp-Source: AJdET5dquEmb6msVEFLhpiboACtwZMPRkpFNoH3Buihd0uoLjtYwldon9V/ivR16oW3CmGjabIWL X-Received: by 2002:a63:2218:: with SMTP id i24-v6mr4671764pgi.238.1540581821178; Fri, 26 Oct 2018 12:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540581821; cv=none; d=google.com; s=arc-20160816; b=M6o6FO1/QlexHykGTjFP71rX5QbiuhG7/8DuJb3V85i6hqonlRTk/y8dP1/nRCvI6Q XbZJVwInxhPR7EF8K7F5R2DMjtjtyq/u92Hnx3chrbKMuODVsyvm+1h8R15OQVCDP4uR aR0c6fvcAf20y4ArPxcTeBUtA45eq2t/Cw4lmPIYjwSABQMmcU9eLF6zk8hB5+P0kQkB ElCcD42P1ZCNOJvdfWkpOqYDh7rXbKxrrncq5Z8i0JciKG+ZMpV3rCWl1giKFJfn0snl 7nwi/A/nBFDj/sDs6BN1FcUgRNfvm9GR64K+YmmP1Y7aSB36XX7aTJ1EyYWCj2saqWX9 EPFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sQMZ6xnlMEmrRO49rM8jft+PyvwNNVPqEIdGl3D9B0c=; b=KjdLhhA6M4qn4djnGepD7lBHpt3kQzsZnLntOCb6bt0WyTqW0uXlG6XIeum4ub423e 86qct//v/vv0BVVcL7zbaavvEGnEio+ybL/Vl1zOVzIoC9ZumTdGUlCFGgMCNFCzJiry 1w5Npj8V6lHSfwcKtEHhapBJMm2gMXjgdpqhws/y69BI1Ep2oVBFgA5Y+57HM0CWVPxS BFU8lcU42jocylok4KjToDrp/CIVXJMYPhRjWm6x3nPgikN8PoRcUgiK/rQ/LutNemHZ M2FLLraUR4EfRklqvftE1Fwj1aTWDV+2pSHbLk7ctYL+XM9W4BEyH3gtzIw5z+LAPogi LfXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Rl5MgxeM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11-v6si7274588pgu.315.2018.10.26.12.23.24; Fri, 26 Oct 2018 12:23:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Rl5MgxeM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726522AbeJ0EAn (ORCPT + 99 others); Sat, 27 Oct 2018 00:00:43 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:36249 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbeJ0EAn (ORCPT ); Sat, 27 Oct 2018 00:00:43 -0400 Received: by mail-lj1-f195.google.com with SMTP id s15-v6so2175152lji.3 for ; Fri, 26 Oct 2018 12:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sQMZ6xnlMEmrRO49rM8jft+PyvwNNVPqEIdGl3D9B0c=; b=Rl5MgxeMe2tWveFWzA1T9vDk1nfzBn3zQMiZR6pEFsZvgUUBi2Xd5zDxM8BpsHycHA PV5U+OnR9FZvh61UuA/u3tBzRFs301EMmIHcuZs8eM+j9MtQABCM4qJOyLvZnW6k/Vll ZN8Y6G2NaYsCbK/q+ysQm9eNhA8cCEthJG5pY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sQMZ6xnlMEmrRO49rM8jft+PyvwNNVPqEIdGl3D9B0c=; b=bzI9f5Z8Lw6UHGMm0EV2VeH2kmxjSI+KsTWg1CIi62ZE1kbWPYjHqXHqs93Of3pEa7 d9bPFkegGO5GWS+YS2hPgcEr2t6MiMRcfiWB9b1J4DubGcYrgce3ehqFurefGzoAAP3b kzUTpHBLj+obq0yVVrGijjoYYH6H5DxJZoB9oPGeuXpBRrd/nGQ+HFV9EP3QOcWmJnbF A3gZ1RXZ9DeKzmVmlIaeyoSvWy0CPOczZYuOpbiGEB3oQpTWArqI4kscKs054cuwvH7b U2fPmCjkJRrer6wg//F61F0z1T4gXW5zUdHr/uUyiVBFV61+zakjQ+gDM9tI2kam5l5F XDmA== X-Gm-Message-State: AGRZ1gIdo3qS2we+fJAIu4sIWRMHHKqX6MJllfYbhZoJGdkpRrvMBYDD TYoml4sM2g1yYH15Rg3ptR+L3bj1wRGJmg== X-Received: by 2002:a2e:4299:: with SMTP id h25-v6mr2101925ljf.5.1540581745186; Fri, 26 Oct 2018 12:22:25 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id s69-v6sm1885459lfs.92.2018.10.26.12.22.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 12:22:23 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id k11-v6so2163634lja.5 for ; Fri, 26 Oct 2018 12:22:22 -0700 (PDT) X-Received: by 2002:a2e:8743:: with SMTP id q3-v6mr3455016ljj.80.1540581742234; Fri, 26 Oct 2018 12:22:22 -0700 (PDT) MIME-Version: 1.0 References: <10b12992-3570-4646-374b-82cbd7276839@acm.org> <1538503063.193396.6.camel@acm.org> <1538521591.193396.8.camel@acm.org> <20181025213144.GB24709@flashbox> <20181025225548.GA10326@flashbox> <1540576908.66186.103.camel@acm.org> <20181026180515.GA12129@flashbox> In-Reply-To: From: Linus Torvalds Date: Fri, 26 Oct 2018 12:22:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] libosd: Remove ignored __weak attribute To: Nick Desaulniers Cc: bvanassche@acm.org, ooo@electrozaur.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, Linux Kernel Mailing List , natechancellor@gmail.com, Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 26, 2018 at 11:32 AM Nick Desaulniers wrote: > > + Linus > I'm not about the process of removing code from the kernel. Doesn't > that violate the "thou shalt not break userspace" rule? The only thing that breaks the "thou shalt not break userspace" rule is fairly simple: things that break user space. Does removing the code break for somebody? If so we don't do it. But if nobody notices because nobody uses, it's fine. Basically, there is no "theoretical" rule about what breaks user space or not. In particular, the rule is *not* that you can't change ABI. You can do any change you want that changes a kernel exported ABI, just as long as nobody actually notices the change. But in practice, it's often _much_ more work to try to figure out whether something breaks somebody than it is to just say "don't change behavior", so 99% of the time, the rule ends up being just "try to avoid intentionally changing behavior, because you'll likely get it wrong". Linus