From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBA7EC32771 for ; Wed, 15 Jan 2020 18:59:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C852024671 for ; Wed, 15 Jan 2020 18:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579114765; bh=aYO0ZgrdAi1+qdlrWTsV84hHXhKn1sfFjNTjB2xgAVw=; h=Date:From:To:CC:CC:CC:Subject:References:In-Reply-To:List-ID: From; b=i/2fFI1PneeVtTmqA4Ij/AFgzElBcYKwnC8iERrGtaBgrBhROurdSIfPQsHStMlRE NIhTx7lAn3oAX7G+Vv0tYEARda+9p0DP3BWeWIvBegtJqkTOcBL5Y8qRiJJzwDlGf/ XUItQylOsoJVEf378Vu7HB4EneirZS1FxF8ZvcVQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729164AbgAOS7Z (ORCPT ); Wed, 15 Jan 2020 13:59:25 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:39840 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728949AbgAOS7Y (ORCPT ); Wed, 15 Jan 2020 13:59:24 -0500 Received: by mail-pj1-f68.google.com with SMTP id e11so339425pjt.4; Wed, 15 Jan 2020 10:59:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=DyppBfshrye8qTHhZa2Kv3JsiH97KEI85KOqIZoNV6I=; b=kNIp5rS1qkimUXpawUFfl0SquXnlt8vOXvwoIlSTUNef+z0iUbSjBC1hMtkx6TQJOE unUnYopChX+xloDA6uDg16hQzQXYvnu1jZEAUQg/wRYYap9BcAz6z39sd50mNUU5XOS4 K9xZgCWV7fWk9v2XYJcNTzwJz0u0Q1aFXX70met2dOCA5cgEjVWRfGi1+8e8Jt46Ingf QNBQCtX5geo5+9oI48uC5/Kno38QpkGSiUwoBJ3YUaqJPWOAxqxBGULdoJzEExURBML5 gvg+2S53LbCpODnKtp5d22bSy3DhjD4APPLHVpGrt0wutyZAvreZXsNFhfIaIBTsbCeY BIzQ== X-Gm-Message-State: APjAAAXTYhpk9H/jGJxZ6lDMKQnCXzWqHPhPh8DKKR5CVN59IKsdYQti mJGCVOLjWrVxJmP+0mAs0kA= X-Google-Smtp-Source: APXvYqxBxwGUQ8otfpFu/t6oEuJ1Ea6qKpXo9NB+OIJ0Vo/2mzZ5htzWt1g6fQ5G3FAUc60mMl1KbQ== X-Received: by 2002:a17:902:bd94:: with SMTP id q20mr27438105pls.343.1579114763636; Wed, 15 Jan 2020 10:59:23 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id i17sm21682761pfr.67.2020.01.15.10.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 10:59:23 -0800 (PST) Message-ID: <5e1f610b.1c69fb81.f82c3.5b13@mx.google.com> Date: Wed, 15 Jan 2020 10:59:22 -0800 From: Paul Burton To: Guoyun Sun CC: Ralf Baechle , Paul Burton , Allison Randal , Thomas Gleixner , Greg Kroah-Hartman CC: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Guoyun Sun CC: linux-mips@vger.kernel.org Subject: Re: [PATCH V2] mips/vdso: Support mremap() for vDSO References: <1579059300-6636-1-git-send-email-sunguoyun@loongson.cn> In-Reply-To: <1579059300-6636-1-git-send-email-sunguoyun@loongson.cn> Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hello, Guoyun Sun wrote: > vDSO VMA address is saved in mm_context for the purpose of using > restorer from vDSO page to return to userspace after signal handling. > > In Checkpoint Restore in Userspace (CRIU) project we place vDSO VMA > on restore back to the place where it was on the dump. > > Make vDSO code track the VMA address by supplying .mremap() fops > the same way it's done for x86 and arm by: > commit b059a453b1cf ("x86/vdso: Add mremap hook to vm_special_mapping") > commit 739586951b8a ("arm64/vdso: Support mremap() for vDSO"). Applied to mips-next. > commit ad1df95419cc > https://git.kernel.org/mips/c/ad1df95419cc > > Signed-off-by: Guoyun Sun > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]