Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp107771ybt; Fri, 12 Jun 2020 21:53:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDWy0W4nltz8vpocnT34be138AwaMeP0VIqRsZBd7aNI+F5sXkoyGskpjweI90MYK8JM4y X-Received: by 2002:a17:906:118b:: with SMTP id n11mr3924537eja.328.1592024019043; Fri, 12 Jun 2020 21:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592024019; cv=none; d=google.com; s=arc-20160816; b=Ng9f5/uOZEkzrHYyDU6Of3azXXcEAxHaqAWcZ8oI9VJBY0ig6E71Dig2/eGCt5Dx5C ENI4ePRmJ19xFFTQWGJVx+jJ2HKTuQSCXh0MNZtRpfG4DeIYHHwZaTV2od7GzkKx0rDX 7LnA8OCpk09d0K3MlD8j0Sd4RnDYVZZ5bnHKo7IJioDOatvEALHFXxan9HjZUA3944m1 APhVnE3NXwfhzYGk9fguV6YvW6L/Ti4rNt5RcnJmF0wqC5lWPB8mT16l+bc9S7RfucRK rImqADfXtkRNn29HMwKsXiFzkYH4La8XkO3VVdw8ACieRJ43DmxBRqyKBSqqNYCPZ/Ub QZ+A== 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 :references:in-reply-to:mime-version:dkim-signature; bh=Cx2PDT4tTqeir+6bsWnKiVj//PIMKhOoR8f76t54cLM=; b=LnIbY/fVs4qSvvjZOSHa0yieSJ25HTGNM4oAOc0h+Xv2721WdgGWBLEWHR3pIuH7Jw Uc/hOfDFTkCZwTlDugnW4SN9hOnAEBDtZy2W5dxHl7zsze6SsvYHyb0Pft2zpaL2jg60 1e7NRbDRWBiAeNL1HLpBCLGIUQWSwqkBAJRuQ3AmAKo+Gj4rMeDisTm2Y/GT1qBt/1tO L0qFmJ6GOdumTFhcG/NUro6igQCBqBMeFBZSk2SWd0KtOGnctkI+Tx2QppsNWo6iOtgE n/WfKEjcqv6BXpPw2jGbAWNE0WRwjbFftFc2GFGHkGYOf+e42/pUX9A/IGtFQAQZNPkE XFQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lh03iQ9S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si5208572eju.555.2020.06.12.21.52.48; Fri, 12 Jun 2020 21:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lh03iQ9S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725829AbgFMEow (ORCPT + 99 others); Sat, 13 Jun 2020 00:44:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725287AbgFMEov (ORCPT ); Sat, 13 Jun 2020 00:44:51 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E385C03E96F for ; Fri, 12 Jun 2020 21:44:51 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id x18so10702915ilp.1 for ; Fri, 12 Jun 2020 21:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Cx2PDT4tTqeir+6bsWnKiVj//PIMKhOoR8f76t54cLM=; b=Lh03iQ9SAV6KYubI78RQKIFOTDE1FU3IAJ0dYQuP7q88IDiF/oe3MemPn9utySVmhx Wts5Z8K1vIlvqd1B2q8DSfo5p393zIPQgVpsIm9USwI1EJ1JUFHXor4NxjaGaoAHqun1 KE3mBwFyVhnXddH5okxKo4rMGtlRvGIXpu/uBzkbpDHEuAxMEnhltmSQ+7RurIKVXhGz VzwaRewUWZh7HPrmH91dbZ+69egx2gKv8RvJ3QTX6QTdXIeMwLfi9JTCU7HC1RR7a3wV Okj8vS1W8WxMTbwosmVRkh8FaMPo2+MhJJLKOz+hzAUSlqHtPIbmLJwKnzgce9jLbwfo y0ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Cx2PDT4tTqeir+6bsWnKiVj//PIMKhOoR8f76t54cLM=; b=FhQrGxS8RFHFCDMZW/rkcNF5JwKEE47J8QZ+PBtotLqJgTGTx0+vkQfgUkR+GYdbt7 PpzoV9uRN0+2Vn5JV4IiJ7Si7vWzEhwAcp3+LojY0NYQZzUDlmj+zebwLxvpplc78kMO 9vJW3+sIS3zrch9NauYGPrbTBGn6wOcL+BZD8ehJkV9MehvfNR97wo5d2s/4pRH4kOKA K3Qh+9Mwp2YPenoGle1/xloXLDTOvXEBN7qgHkUO5il3U6f+1RAE60zqmMGj1cXuSqhw FJ62tzbzzB4YcQCEjyrX5/4dCEJHW8wMeE3o6Tb5hnnEXPQNATIG7q0SUiaFLbgNOg0Q Uo+A== X-Gm-Message-State: AOAM532t44z6Tb7RXNX6PKaetjdlNzJ0j+/qncBq+xj6PIsoYKlcz9f6 rF6X4V4vz28FYvcNomCd+LT/lCxArg3egqfDIMR8tMxrcYc= X-Received: by 2002:a92:c941:: with SMTP id i1mr14927825ilq.94.1592023490745; Fri, 12 Jun 2020 21:44:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac0:d54a:0:0:0:0:0 with HTTP; Fri, 12 Jun 2020 21:44:50 -0700 (PDT) In-Reply-To: References: From: youling 257 Date: Sat, 13 Jun 2020 12:44:50 +0800 Message-ID: Subject: Re: [PATCH v6 10/12] mmap locking API: rename mmap_sem to mmap_lock To: Michel Lespinasse Cc: "Liam R . Howlett" , Andrew Morton , Daniel Jordan , Davidlohr Bueso , Hugh Dickins , Jason Gunthorpe , Jerome Glisse , John Hubbard , Laurent Dufour , LKML , linux-mm , Peter Zijlstra , David Rientjes , Vlastimil Babka , Matthew Wilcox , Ying Han 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 today test linux kernel master branch, I have kernel/sys.c build error. can you make a fix patch and push to linus? 2020-06-04 16:38 GMT+08:00, Michel Lespinasse : > On Thu, Jun 4, 2020 at 1:16 AM youling 257 wrote: >> 2020-06-04 13:57 GMT+08:00, Michel Lespinasse : >> > However I would like more information about your report. Did you apply >> > the series yourself ? If so, what base tree did you apply it onto ? If >> > not, what tree did you use that already included the series ? >> >> I build linux next-20200603 tree have the kernel/sys.c error. > > Thanks for the info. > > The proper fix is to replace down_write(&mm->mmap_sem) with > mmap_write_lock(mm) and up_write(&mm->mmap_sem) with > mmap_write_unlock(mm) > > If you just needed a quick fix to get the tree to build, what you did > (replacing mmap_sem with mmap_lock) is also fine. > > Thanks again ! > > -- > Michel "Walken" Lespinasse > A program is never fully debugged until the last user dies. >