commit | f2ec5c633c1b50e5affa5488148a196358fb1de6 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Tue Apr 30 16:29:43 2013 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Apr 30 16:32:13 2013 +0200 |
tree | 6ce08f27cf13761ffb862b5f38372db7a523c2a8 | |
parent | d27f4b35eb108b4895478beeb9c20356b82f5147 [diff] |
mem/thp03: Return TCONF if KSM is not supported The madvise() with MADV_MERGEABLE will return EINVAL when kernel is not compiled with KSM. Make the test return TCONF rather than TBROK in this case. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>