Received: by 10.213.65.68 with SMTP id h4csp840787imn; Sun, 25 Mar 2018 15:20:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELvLPrEeXuwToyQt5xoZdwyRtpXMynxlTsFn03y7/bSntr4Y22VTlV9EHqW56ohpuL1UPIDQ X-Received: by 10.167.131.199 with SMTP id j7mr30662927pfn.99.1522016436226; Sun, 25 Mar 2018 15:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016436; cv=none; d=google.com; s=arc-20160816; b=wQ4DEoGp1PIsCsGorc0eB3yFH3lEFGiiJT5Kb48sUSxgjb7P0yWo3vCp9fZko338GE O7DSsyOFZs40m0YGum17P7XfjiWB3w5gXeKidl+VwjTK/kFfHBC04rFz1wjF93K+wdWx VZi+ZeiNjPOFvli/4or4f+RL5As8a36q2XtSrzLcVyZiW2/Jh85r/hcaphx4UE9VSBYX W/f7UjX4IADLUHJ0uYfk0zxU8+g6ot0AWTsP3tL7IZ7c04K3i54KIDaiWw3gj7+S+O1m UxP14rh4eSWbM3PJo9MNJthrRlU/WoQgBYD4K2gQ4I+wJDL2bC+1ljPVjVBhc0SgbHV3 oBOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:arc-authentication-results; bh=hVl1F8PGk/tAJCkM1BwwF06883cyR4fvkSwJJRwBgm4=; b=vnXB8CDyUvA8dvOjGj5Hco7y03uqmMzvzqPbsJimyghHvwK3HWGoZatnUDvY0CwWCj T/9tMM1VJHnVqAOhCLB2A22vDNkpf+Ytmc5/4F57+V6kGVBK1LC/+a5b0Rdq34sI6Ipb RDJaxHoSm5hMYuf4wpz4nk7PwNrJk5drZP5bPgnoH5M3u884x/xRwIYf+526SQuEl0qV K4QRj+3XdJACU+pP3iEJPG1m5mBMCGQrwXwfZogd7nbWobc0Ddc29Aty4jlLDZwcka6S e73JotKokWbLv+2fy3PkNzOXqqk4G9x3tzOBtBR9zsoushCH2pKQcSnqQAOhkBZFRArL zxag== 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 u7-v6si13252761plr.293.2018.03.25.15.20.22; Sun, 25 Mar 2018 15:20:36 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752131AbeCYWTG (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:06 -0400 Received: from smtprelay0253.hostedemail.com ([216.40.44.253]:50193 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751938AbeCYWTC (ORCPT ); Sun, 25 Mar 2018 18:19:02 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 5B6EC2C79; Sun, 25 Mar 2018 22:19:01 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,shea@shealevy.com,:::::::::::::::::::::::::,RULES_HIT:41:355:379:541:966:973:988:989:1260:1345:1359:1381:1437:1534:1538:1567:1711:1714:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3865:3867:3868:3870:3871:3874:4385:5007:6261:6737:10004:10848:11026:11658:11914:12048:12533:13069:13149:13230:13311:13357:14384:14394:21080:21627:30012:30054:30062,0,RBL:71.235.10.46:@shealevy.com:.lbl8.mailshell.net-62.4.0.191 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ff,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:20,LUA_SUMMARY:none X-HE-Tag: hands90_318eeee3fbb23 X-Filterd-Recvd-Size: 1482 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:00 +0000 (UTC) From: Shea Levy To: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-m68k@lists.linux-m68k.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Subject: [PATCH v2 00/16] Generic infrastructure for unloading initramfs Date: Sun, 25 Mar 2018 18:18:37 -0400 Message-Id: <20180325221853.10839-1-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180324174458.26423-1-shea@shealevy.com> References: <20180324174458.26423-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series extracts out code for unloading the initramfs that was identical across 14 architectures, and moves those architectures to the common code path. Additionally, RISC-V is newly moved to the common code path. In addition to reducing duplication, this allows us to bring future improvements (such as generalizing existing "keep initrd" command line options) to multiple architectures at once. v2: Mark generic free_initrd_mem __init.