From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751520AbbKBTPR (ORCPT ); Mon, 2 Nov 2015 14:15:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36659 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbbKBTPP (ORCPT ); Mon, 2 Nov 2015 14:15:15 -0500 Date: Mon, 2 Nov 2015 14:15:11 -0500 From: Jessica Yu To: Chris J Arges Cc: live-patching@vger.kernel.org, Josh Poimboeuf , Seth Jennings , Jiri Kosina , Vojtech Pavlik , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: livepatch: old_name.number scheme in livepatch sysfs directory Message-ID: <20151102191511.GC24801@packer-debian-8-amd64.digitalocean.com> References: <1446487137-8469-1-git-send-email-chris.j.arges@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1446487137-8469-1-git-send-email-chris.j.arges@canonical.com> X-OS: Linux eisen.io 3.16.0-4-amd64 x86_64 User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Chris J Arges [02/11/15 11:58 -0600]: >The following directory structure will allow for cases when the same >function name exists in a single object. > /sys/kernel/livepatch/// > >The number is incremented on each known initialized func kobj thus creating >unique names in this case. > >An example of this issue is documented here: > https://github.com/dynup/kpatch/issues/493 > >Signed-off-by: Chris J Arges Thanks Chris. Verified that the patch fixes the panic caused by multiple functions with the same name and object. Acked-by: Jessica Yu