From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753262Ab0JSPF3 (ORCPT ); Tue, 19 Oct 2010 11:05:29 -0400 Received: from mga03.intel.com ([143.182.124.21]:58313 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961Ab0JSPF1 (ORCPT ); Tue, 19 Oct 2010 11:05:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,350,1283756400"; d="scan'208";a="337878797" Message-ID: <4CBDB3B0.8080605@linux.intel.com> Date: Tue, 19 Oct 2010 17:05:20 +0200 From: Andi Kleen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Andreas Schwab CC: Amerigo Wang , linux-kernel@vger.kernel.org, Randy Dunlap , Mauro Carvalho Chehab , Len Brown , Ingo Molnar , Andrew Morton , David Howells , Eric Paris , Peter Zijlstra , "Eric W. Biederman" , Eric Dumazet , "David S. Miller" , Andy Shevchenko , linux-doc@vger.kernel.org Subject: Re: [PATCH 2/2] sysctl: remove sysctl syscall References: <1287476560-5874-1-git-send-email-amwang@redhat.com> <1287476560-5874-2-git-send-email-amwang@redhat.com> <4CBD9B7F.6040307@linux.intel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/2010 4:10 PM, Andreas Schwab wrote: >> On 10/19/2010 10:22 AM, Amerigo Wang wrote: >>> Remove the obsolete sysctl syscall. It was scheduled >>> to be removed in Sept. >> >> I thought at least older glibc was still using it? Did anyone check >> what happens if it sees no sysctl(2)? > It will fall back reading from /proc/sys. First that's slow (but ok), but that will fail if there is no /proc. -Andi