The patch titled Subject: fixdep: faster CONFIG_ search has been added to the -mm tree. Its filename is fixdep-faster-config_-search-v2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fixdep-faster-config_-search-v2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fixdep-faster-config_-search-v2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: fixdep: faster CONFIG_ search Link: http://lkml.kernel.org/r/20160824180305.GA22266@xxxxxxxxxxxxxxx Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Michal Marek <mmarek@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/basic/fixdep.c | 19 ------------------- 1 file changed, 19 deletions(-) diff -puN scripts/basic/fixdep.c~fixdep-faster-config_-search-v2 scripts/basic/fixdep.c --- a/scripts/basic/fixdep.c~fixdep-faster-config_-search-v2 +++ a/scripts/basic/fixdep.c @@ -114,11 +114,6 @@ #include <ctype.h> #include <arpa/inet.h> -#define INT_CONF ntohl(0x434f4e46) -#define INT_ONFI ntohl(0x4f4e4649) -#define INT_NFIG ntohl(0x4e464947) -#define INT_FIG_ ntohl(0x4649475f) - int insert_extra_deps; char *target; char *depfile; @@ -435,22 +430,8 @@ static void print_deps(void) close(fd); } -static void traps(void) -{ - static char test[] __attribute__((aligned(sizeof(int)))) = "CONF"; - int *p = (int *)test; - - if (*p != INT_CONF) { - fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianness? %#x\n", - *p); - exit(2); - } -} - int main(int argc, char *argv[]) { - traps(); - if (argc == 5 && !strcmp(argv[1], "-e")) { insert_extra_deps = 1; argv++; _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are kbuild-simpler-generation-of-assembly-constants.patch fixdep-faster-config_-search.patch fixdep-faster-config_-search-v2.patch mm-unrig-vma-cache-hit-ratio.patch proc-much-faster-proc-vmstat.patch proc-faster-proc-status.patch cred-simpler-1d-supplementary-groups.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html