lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0705021524070.14127@localhost.localdomain>
Date:	Wed, 2 May 2007 15:27:58 -0400 (EDT)
From:	"Robert P. J. Day" <rpjday@...dspring.com>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: dead CONFIG variables:  first in a series


  and now, courtesy of my handy-dandy dead CONFIG variable spotter, we
have the first in a series of posts identifying CONFIG_ variables that
don't appear to be set anywhere in the configuration process, along
with a recursive grep showing where they're referenced.

  as a first example, restricting the search to the mm/ directory:

$ ../dead_config.sh mm
========== MAX_ACTIVE_REGIONS ==========
mm/page_alloc.c:  #ifdef CONFIG_MAX_ACTIVE_REGIONS
mm/page_alloc.c:    #define MAX_ACTIVE_REGIONS CONFIG_MAX_ACTIVE_REGIONS
mm/page_alloc.c:   * MAX_ACTIVE_REGIONS determines the maxmimum number of distinct
mm/page_alloc.c:    /* Allow an architecture to set MAX_ACTIVE_REGIONS to save memory */
mm/page_alloc.c:    #define MAX_ACTIVE_REGIONS CONFIG_MAX_ACTIVE_REGIONS
mm/page_alloc.c:      #define MAX_ACTIVE_REGIONS (MAX_NUMNODES*50)
mm/page_alloc.c:      #define MAX_ACTIVE_REGIONS 256
mm/page_alloc.c:  struct node_active_region __initdata early_node_map[MAX_ACTIVE_REGIONS];
mm/page_alloc.c:                          nr_nodemap_entries, MAX_ACTIVE_REGIONS);
mm/page_alloc.c:        if (i >= MAX_ACTIVE_REGIONS) {
mm/page_alloc.c:                                              MAX_ACTIVE_REGIONS);

  is it fair to say there's something strange going on here before i
run any more tests?

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ