Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6837100ybl; Wed, 15 Jan 2020 11:00:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxF8ZasSCAj7h+goRetqv2qJRvEaMpum7qFdJW342tHmxl5iPN+Spi5lCG8ln3ouE55Z59d X-Received: by 2002:a9d:774e:: with SMTP id t14mr3712464otl.358.1579114839348; Wed, 15 Jan 2020 11:00:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579114839; cv=none; d=google.com; s=arc-20160816; b=LNV7fDxyXTPB5X1i63/P3bfhW2y6iKM4i4qHaWWPm2PEig63DPLOjOchT2p8HeRS5o AaAo4zNUP8Qz9jqVcZMTs9b8Xwrhtc1s1xi6QLzUnNLCdsqNKhiMBuFT8/5PnD3+4m7p IsrXSPJhko6tDxSuSnK3Y45UvZsXHVr5pZXyb5HZM8MwC2T6JlhQHamVnGAuAyQ9EQPZ VN5BMc+k5AOEfCtxSbLK/DodO+xuNJVFlPHCDPTaqw+G6tPvoSYx5YhN4YArJzWFnirJ kxRsU+P8P86n3ghQvDYYFQNpSIAEcU4Wy0mytCZ268pCxXg663JJLojefdATVcQVxUeS YAkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:references:subject:cc:cc:cc :to:from:date:message-id; bh=DyppBfshrye8qTHhZa2Kv3JsiH97KEI85KOqIZoNV6I=; b=q9Pawxo/QU3Lt8+SQ1B+ySgECyqfPJ/nIx7EfcwJrqlr2V2ijyct8vgiQ22AGWDTwa pPAJyMkv2i8joxOj3YsKyzN05i4cO+fLP0uXC25ov4BBQNW4L7PaPM0xDmwd0+WrNkgt +BnGiZ7dh4Jb1hJKiHRLLYqfV2+yq1mXKCB8N8YuftGKyIVMarqZ9h3IEZNvIHKXOTSW K4n2Ur7/Y+cdoHMhpibNTqNSkGAybKcZgBpW40AUNgY5Vrhr1ZY1b9oYaSQ339kBlMcT zoAVDIsjZxDeuZytrrno9B51Y2uLSX+TYYSgsByasq29VmGIHeElnR9tAF4kdBDObL2j FyQw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i20si9959896oie.119.2020.01.15.11.00.21; Wed, 15 Jan 2020 11:00:39 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729221AbgAOS7Z (ORCPT + 99 others); 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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. ]