Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp588612ybl; Wed, 11 Dec 2019 04:30:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwOCvX7ZCamLHS8t00xXwrOBKUbj+Bod7KrnmTDYOFeEFPObmWvuliFMuqR+0tSH1NGkYT3 X-Received: by 2002:a05:6808:356:: with SMTP id j22mr2654902oie.130.1576067447229; Wed, 11 Dec 2019 04:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576067447; cv=none; d=google.com; s=arc-20160816; b=GbxJcILieI2symzgUaM4D94gumj+hDyN8Z3CGzqEvFzfxaSQsHbT9UDoa+bC69adZB cGSrPTgDZ0pO7pVZp9fxvev5v9FMFD+P6odkOeFkATt91gAvlGyMHbp3eB8IS0cmBHUY DF4D1CGfzeRn+TN379pHkYyA0v8lwdra5qXccH00512IDjz2qp+uTPyJ4Y4Kma8xkniu 2NY18zrOi2BUg/eGDk/tPu2m8NYdLYbyCSIqb99E69ZIssGqd5iv2MhG5l3B+jgXf2Ki Jx4nNvYIWVjQt/sUylaTVF12wiaUV9ueklhnXVUg83oySmmwYIKS39jsecLxMR8Fz2nL QgpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pUU5rRh5mJYt/fgjbhW2j4QX14SS2zCKoX9i/+d7dao=; b=m3qzQjEIdEMba2qeEWjN0mlAu5p7IgrTpbe7d2O5d3ojuyQlt+9MMDhHCQjuw30HHN YyMT/E2/dsbUtOL+x4c3hE51y/1VUK2Gg/i/SKiG/4Db+riKuIX/JuTwMLip4JmJ00ge hA0XkGW8MIW+atUqns5Iyoqrpk/J9pWrMrx9KFujO7KMeRlkM2J1Wa4KBhRIJlISsCsh rNmUv0swUcA6oPmfoYBcyhjtbnIbOXZlDwQbzZ52L6/41hYnarsBR2ooonlJOp7EH4bZ ZF3hNuG2CgoBluZhQAAONCdO9vp/ZcgT6F0TIHj8nEhWQ7uPOFXi/fz+5x/a9UEFAPRQ 8B0w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si1032130ois.76.2019.12.11.04.30.34; Wed, 11 Dec 2019 04:30:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729149AbfLKMaH (ORCPT + 99 others); Wed, 11 Dec 2019 07:30:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:40000 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727477AbfLKMaG (ORCPT ); Wed, 11 Dec 2019 07:30:06 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BDB67AE50; Wed, 11 Dec 2019 12:30:04 +0000 (UTC) Subject: Re: [PATCH v6 1/3] xenbus/backend: Add memory pressure handler callback To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , SeongJae Park Cc: axboe@kernel.dk, konrad.wilk@oracle.com, SeongJae Park , pdurrant@amazon.com, sjpark@amazon.com, xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191211042428.5961-1-sjpark@amazon.de> <20191211042657.6037-1-sjpark@amazon.de> <20191211114651.GN980@Air-de-Roger> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Wed, 11 Dec 2019 13:30:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191211114651.GN980@Air-de-Roger> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.12.19 12:46, Roger Pau Monné wrote: > On Wed, Dec 11, 2019 at 04:26:57AM +0000, SeongJae Park wrote: >> + >> return 0; >> } >> subsys_initcall(xenbus_probe_backend_init); >> diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h >> index 869c816d5f8c..196260017666 100644 >> --- a/include/xen/xenbus.h >> +++ b/include/xen/xenbus.h >> @@ -104,6 +104,7 @@ struct xenbus_driver { >> struct device_driver driver; >> int (*read_otherend_details)(struct xenbus_device *dev); >> int (*is_ready)(struct xenbus_device *dev); >> + void (*reclaim)(struct xenbus_device *dev); > > reclaim_memory (if Juergen agrees). I do agree. Juergen