Messages in this thread | | | From | Johannes Weiner <> | Subject | Re: [RFC 01/22] Generic show_mem() implementation | Date | Thu, 03 Apr 2008 16:49:42 +0200 |
| |
Hi,
Sam Ravnborg <sam@ravnborg.org> writes:
>> e.g. we currently have this in arch/s390/Kconfig: >> >> config S390 >> def_bool y >> select HAVE_OPROFILE >> select HAVE_KPROBES >> select HAVE_KRETPROBES >> >> just add a select HAVE_GENERIC_SHOWMEM or something like that in the arch >> specific patches. > Seconded. > See Documentation/kbuild/kconfig-language.txt for a few more hints > how to do it.
After more thinking about it, wouldn't it be better to have HAVE_ARCH_SHOW_MEM in mm/Kconfig and let archs with their own show_mem() select it? Because there are far more archs that use the generic version than those having their own.
Hannes
| |