[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen: simplify evtchn_do_upcall() call maze
- To: Juergen Gross <jgross@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Thu, 24 Aug 2023 17:21:27 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8IOXY/559ecw9U1jCzyYxMLUmrCdKat7AmmLCDKrkJc=; b=AbeL1mcSYgkCMYKr6Xr28MANlq6TJIJR6vrDalbu07tlvdKOKT7V33GQACVVMrbfLMXQW7zKO6iscjPjyfYAjxDyimhvcWRdxhDPHuTph25Fx9jU3O9lbeyUUNYVJQBL7bLW+lzjn7bN0vVzY6fThAYIp6zXtaZwlw1gv1BCn+GW4gmRIBGC9c8sC0xEuV9CBgCo/VezfoMbQethJKEXgr5s9mSYiQGkw+zVPg8dSGG4ETSOHc9bZlAp1pKcyiO3fRz2Gkhs1O7qp99OsuBIEUOTHgcWVmDfSQFbnUEF1vve8YzGT7P1Oo3uOSkqQuP8PmsoJtQ34pMPh4DxpzqBVg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H194qvcrO++Kul6lG6slHdqZu7Dg+RS+epSIGmgGNQBRVBGlbrxNpNOZM5sK3ty1oQTW1KuUMltA9zpBxUJE5DMqCDBkzTWoA8jLXkNKDmVx8W+pIKn2K81JAm8XEwT4rprxGr08HbEnN4mVvHCpiq6C7NpNrDeE+ep2+C4p4dLv2PoLqRkINkcV18OkmKKDkySrkEN/rySmwE4dj2vugbk+OCC8OOyOWasHulAjRbGhAHX2EIQWSyiQgdIdYLjuoCujfVt7S9V91Wg9VOIB+5A22g/kXOljlv21zFWmGvsQuniMyCg5s5J31HcDXfcDCuCimCJzYh1OeX3Y3lRIiA==
- Cc: Andy Lutomirski <luto@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 24 Aug 2023 21:22:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 8/24/23 11:41 AM, Juergen Gross wrote:
There are several functions involved for performing the functionality
of evtchn_do_upcall():
- __xen_evtchn_do_upcall() doing the real work
- xen_hvm_evtchn_do_upcall() just being a wrapper for
__xen_evtchn_do_upcall(), exposed for external callers
- xen_evtchn_do_upcall() calling __xen_evtchn_do_upcall(), too, but
without any user
Simplify this maze by:
- removing the unused xen_evtchn_do_upcall()
- removing xen_hvm_evtchn_do_upcall() as the only left caller of
__xen_evtchn_do_upcall(), while renaming __xen_evtchn_do_upcall() to
xen_evtchn_do_upcall()
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
|