From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932Ab1GaCTD (ORCPT ); Sat, 30 Jul 2011 22:19:03 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:35136 "HELO oproxy3-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751997Ab1GaCS6 (ORCPT ); Sat, 30 Jul 2011 22:18:58 -0400 Date: Sat, 30 Jul 2011 19:18:55 -0700 From: Randy Dunlap To: Alessandro Suardi Cc: linux-kernel@vger.kernel.org Subject: Re: warn_slowpath_common WARNING on boot since 3.0.0-git7 Message-Id: <20110730191855.eaec670f.rdunlap@xenotime.net> In-Reply-To: References: Organization: YPO4 X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 30 Jul 2011 17:31:51 +0200 Alessandro Suardi wrote: > F15 x86_64, still present in 3.0.0-git11; didn't report it earlier as I > thought it'd be squashed sooner... probably it's not as common > as I thought it'd be: > > Jul 27 18:46:18 duff kernel: WARNING: at fs/proc/base.c:1123 > oom_adjust_write+0x185/0x23c() > Jul 27 18:46:18 duff kernel: Hardware name: Latitude E6400 > Jul 27 18:46:18 duff kernel: sshd (3245): /proc/3245/oom_adj is > deprecated, please use /proc/3245/oom_score_adj instead. Looks like sshd is using a deprecated /proc interface. fs/proc/base.c:1118 says: * Warn that /proc/pid/oom_adj is deprecated, see * Documentation/feature-removal-schedule.txt. What else needs to be done here? > Jul 27 18:46:18 duff kernel: Modules linked in: sunrpc rfcomm bnep > ip6t_REJECT nf_conntrack_ipv6 ipt_REJECT nf_defrag_ipv6 > nf_conntrack_ipv4 ip6table_filter nf_defrag_ipv4 ip6_tables xt_state > nf_conntrack iptable_filter ip_tables snd_hda_codec_hdmi > snd_hda_codec_idt snd_hda_intel snd_hda_codec aes_x86_64 aes_generic > ecb snd_hwdep btusb snd_seq snd_seq_device bluetooth snd_pcm > dell_laptop snd_timer snd i2c_i801 rfkill microcode pcspkr joydev > soundcore snd_page_alloc dcdbas ipv6 autofs4 ext4 jbd2 crc16 sdhci_pci > firewire_ohci sdhci firewire_core crc_itu_t mmc_core i915 > drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: > scsi_wait_scan] > Jul 27 18:46:18 duff kernel: Pid: 3245, comm: sshd Not tainted 3.0.0-git7 #6 > Jul 27 18:46:18 duff kernel: Call Trace: > Jul 27 18:46:18 duff kernel: [] warn_slowpath_common+0x7e/0x96 > Jul 27 18:46:18 duff kernel: [] warn_slowpath_fmt+0x41/0x43 > Jul 27 18:46:18 duff kernel: [] ? ns_capable+0x35/0x4a > Jul 27 18:46:18 duff kernel: [] oom_adjust_write+0x185/0x23c > Jul 27 18:46:18 duff kernel: [] vfs_write+0xa3/0xca > Jul 27 18:46:18 duff kernel: [] ? > trace_hardirqs_on_caller+0xe/0x22 > Jul 27 18:46:18 duff kernel: [] sys_write+0x45/0x69 > Jul 27 18:46:18 duff kernel: [] system_call_fastpath+0x16/0x1b --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***