Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1122951imm; Wed, 17 Oct 2018 13:50:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV63tHeJnA+gIlRM+Hx1YZEq0M/8qhCNkVi6Ryh9b9ATHmuQ75A9gaL6Hnzth9TJ5DKoruByk X-Received: by 2002:a17:902:b403:: with SMTP id x3-v6mr27680614plr.237.1539809442171; Wed, 17 Oct 2018 13:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539809442; cv=none; d=google.com; s=arc-20160816; b=dzaFzKHKRaqF3B0tqV0SvCcR0RhU/tlulbla6Maa9X6BFo+Lgiax8AG8vnbdMwDYes 79Cl2Xh+nad9xYTUZJ0QuSPLQ8y6AP82SFa1MlYWqjCbuKdy7mxIicHl4z3WAUJHtGTW vwyVmDG0B5OoOi2xG8Oh0nwapr/cTVcqA6PjRmkeY723yjygYJ2c+b21i5Fu2GqjxEXt G8VQ3rtKq2UAcOBf/3xRDr+3HAw+wCwrPsd/Ji5OJ9tww/YbfKdOAn3maiuG7lpHYxBr ln311ylI7GS17SF/newGgRPf9a/2xIon5fw88H7u4Og3IiwfiSs9oXAodbgZ+CLws6fS fAwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=aL6nK2RaZZUnjQ+xk6gBj6M3948DzFX9LciVfQhtpFQ=; b=r/aqzEKrG+ttJre1hCZrnzU29BJn2efZkktif5cHpbI03hrif8SzqL/AN0Pg/b6oXP 2DAvtIXBpyYCgthO6nvWEAPQXYrZteJaXt/rA6DOTAGgSj+O2UrNOIE3d+P/F5nZ9Z7x wqYrKzaLAuhoByeTgpoUKMvT4BJDDVR4dCmIDo06532QgXRJLk5GrJlQHd8Aa5J2+TcP RTeQdTVXvht/2dDIjd6vuQLiP/mHoEaQqepHdsNR1++0oV2+/YapvxFPpoGZfxTHswcM 4HUnWq96U7BkzuPLqbg5UVMSgdf+q5em5iFlhcdRxP87S+t5DCh5EA/VhH70BoMBkipD gz4w== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v67-v6si19424380pfk.264.2018.10.17.13.50.11; Wed, 17 Oct 2018 13:50:42 -0700 (PDT) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727950AbeJREpy (ORCPT + 99 others); Thu, 18 Oct 2018 00:45:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41670 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbeJREpy (ORCPT ); Thu, 18 Oct 2018 00:45:54 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3211230832CA; Wed, 17 Oct 2018 20:48:28 +0000 (UTC) Received: from treble (ovpn-122-46.rdu2.redhat.com [10.10.122.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A9E1245C8; Wed, 17 Oct 2018 20:48:23 +0000 (UTC) Date: Wed, 17 Oct 2018 15:48:21 -0500 From: Josh Poimboeuf To: Petr Mladek Cc: Jiri Kosina , Miroslav Benes , Jason Baron , Joe Lawrence , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 09/12] livepatch: Remove Nop structures when unused Message-ID: <20181017204821.a23ssldszqpohhvk@treble> References: <20181015123713.25868-1-pmladek@suse.com> <20181015123713.25868-10-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181015123713.25868-10-pmladek@suse.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Wed, 17 Oct 2018 20:48:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 15, 2018 at 02:37:10PM +0200, Petr Mladek wrote: > +void klp_discard_replaced_stuff(struct klp_patch *new_patch) > +{ > + klp_discard_replaced_patches(new_patch); > + klp_discard_nops(new_patch); > +} > + > +/* Stuff? Really? :-) How about klp_discard_replaced()? -- Josh