[liu-song6-linux:uprobe-thp 119/188] kernel/sysctl.c:1729:15: error: 'zero' undeclared here (not in a function); did you mean 'zero_ul'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matteo,

FYI, the error/warning still remains.

tree:   https://github.com/liu-song-6/linux.git uprobe-thp
head:   352a3bf14738fddd770e902a0dc084ac862ce368
commit: 115fe47f84b1b7e9673aa9ffc0d5a4a9bb0ade15 [119/188] proc/sysctl: add shared variables for range check
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 115fe47f84b1b7e9673aa9ffc0d5a4a9bb0ade15
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> kernel/sysctl.c:1729:15: error: 'zero' undeclared here (not in a function); did you mean 'zero_ul'?
      .extra1  = &zero,
                  ^~~~
                  zero_ul
>> kernel/sysctl.c:1730:15: error: 'one' undeclared here (not in a function); did you mean 'zone'?
      .extra2  = &one,
                  ^~~
                  zone

vim +1729 kernel/sysctl.c

^1da177e4 Linus Torvalds      2005-04-16  1285  
d8217f076 Eric W. Biederman   2007-10-18  1286  static struct ctl_table vm_table[] = {
^1da177e4 Linus Torvalds      2005-04-16  1287  	{
^1da177e4 Linus Torvalds      2005-04-16  1288  		.procname	= "overcommit_memory",
^1da177e4 Linus Torvalds      2005-04-16  1289  		.data		= &sysctl_overcommit_memory,
^1da177e4 Linus Torvalds      2005-04-16  1290  		.maxlen		= sizeof(sysctl_overcommit_memory),
^1da177e4 Linus Torvalds      2005-04-16  1291  		.mode		= 0644,
cb16e95fa Petr Holasek        2011-03-23  1292  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1293  		.extra1		= SYSCTL_ZERO,
cb16e95fa Petr Holasek        2011-03-23  1294  		.extra2		= &two,
^1da177e4 Linus Torvalds      2005-04-16  1295  	},
^1da177e4 Linus Torvalds      2005-04-16  1296  	{
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1297  		.procname	= "panic_on_oom",
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1298  		.data		= &sysctl_panic_on_oom,
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1299  		.maxlen		= sizeof(sysctl_panic_on_oom),
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1300  		.mode		= 0644,
cb16e95fa Petr Holasek        2011-03-23  1301  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1302  		.extra1		= SYSCTL_ZERO,
cb16e95fa Petr Holasek        2011-03-23  1303  		.extra2		= &two,
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1304  	},
fadd8fbd1 KAMEZAWA Hiroyuki   2006-06-23  1305  	{
fe071d7e8 David Rientjes      2007-10-16  1306  		.procname	= "oom_kill_allocating_task",
fe071d7e8 David Rientjes      2007-10-16  1307  		.data		= &sysctl_oom_kill_allocating_task,
fe071d7e8 David Rientjes      2007-10-16  1308  		.maxlen		= sizeof(sysctl_oom_kill_allocating_task),
fe071d7e8 David Rientjes      2007-10-16  1309  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1310  		.proc_handler	= proc_dointvec,
fe071d7e8 David Rientjes      2007-10-16  1311  	},
fe071d7e8 David Rientjes      2007-10-16  1312  	{
fef1bdd68 David Rientjes      2008-02-07  1313  		.procname	= "oom_dump_tasks",
fef1bdd68 David Rientjes      2008-02-07  1314  		.data		= &sysctl_oom_dump_tasks,
fef1bdd68 David Rientjes      2008-02-07  1315  		.maxlen		= sizeof(sysctl_oom_dump_tasks),
fef1bdd68 David Rientjes      2008-02-07  1316  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1317  		.proc_handler	= proc_dointvec,
fef1bdd68 David Rientjes      2008-02-07  1318  	},
fef1bdd68 David Rientjes      2008-02-07  1319  	{
^1da177e4 Linus Torvalds      2005-04-16  1320  		.procname	= "overcommit_ratio",
^1da177e4 Linus Torvalds      2005-04-16  1321  		.data		= &sysctl_overcommit_ratio,
^1da177e4 Linus Torvalds      2005-04-16  1322  		.maxlen		= sizeof(sysctl_overcommit_ratio),
^1da177e4 Linus Torvalds      2005-04-16  1323  		.mode		= 0644,
49f0ce5f9 Jerome Marchand     2014-01-21  1324  		.proc_handler	= overcommit_ratio_handler,
49f0ce5f9 Jerome Marchand     2014-01-21  1325  	},
49f0ce5f9 Jerome Marchand     2014-01-21  1326  	{
49f0ce5f9 Jerome Marchand     2014-01-21  1327  		.procname	= "overcommit_kbytes",
49f0ce5f9 Jerome Marchand     2014-01-21  1328  		.data		= &sysctl_overcommit_kbytes,
49f0ce5f9 Jerome Marchand     2014-01-21  1329  		.maxlen		= sizeof(sysctl_overcommit_kbytes),
49f0ce5f9 Jerome Marchand     2014-01-21  1330  		.mode		= 0644,
49f0ce5f9 Jerome Marchand     2014-01-21  1331  		.proc_handler	= overcommit_kbytes_handler,
^1da177e4 Linus Torvalds      2005-04-16  1332  	},
^1da177e4 Linus Torvalds      2005-04-16  1333  	{
^1da177e4 Linus Torvalds      2005-04-16  1334  		.procname	= "page-cluster", 
^1da177e4 Linus Torvalds      2005-04-16  1335  		.data		= &page_cluster,
^1da177e4 Linus Torvalds      2005-04-16  1336  		.maxlen		= sizeof(int),
^1da177e4 Linus Torvalds      2005-04-16  1337  		.mode		= 0644,
cb16e95fa Petr Holasek        2011-03-23  1338  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1339  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1340  	},
^1da177e4 Linus Torvalds      2005-04-16  1341  	{
^1da177e4 Linus Torvalds      2005-04-16  1342  		.procname	= "dirty_background_ratio",
^1da177e4 Linus Torvalds      2005-04-16  1343  		.data		= &dirty_background_ratio,
^1da177e4 Linus Torvalds      2005-04-16  1344  		.maxlen		= sizeof(dirty_background_ratio),
^1da177e4 Linus Torvalds      2005-04-16  1345  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1346  		.proc_handler	= dirty_background_ratio_handler,
115fe47f8 Matteo Croce        2019-05-26  1347  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1348  		.extra2		= &one_hundred,
^1da177e4 Linus Torvalds      2005-04-16  1349  	},
^1da177e4 Linus Torvalds      2005-04-16  1350  	{
2da02997e David Rientjes      2009-01-06  1351  		.procname	= "dirty_background_bytes",
2da02997e David Rientjes      2009-01-06  1352  		.data		= &dirty_background_bytes,
2da02997e David Rientjes      2009-01-06  1353  		.maxlen		= sizeof(dirty_background_bytes),
2da02997e David Rientjes      2009-01-06  1354  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1355  		.proc_handler	= dirty_background_bytes_handler,
fc3501d41 Sven Wegener        2009-02-11  1356  		.extra1		= &one_ul,
2da02997e David Rientjes      2009-01-06  1357  	},
2da02997e David Rientjes      2009-01-06  1358  	{
^1da177e4 Linus Torvalds      2005-04-16  1359  		.procname	= "dirty_ratio",
^1da177e4 Linus Torvalds      2005-04-16  1360  		.data		= &vm_dirty_ratio,
^1da177e4 Linus Torvalds      2005-04-16  1361  		.maxlen		= sizeof(vm_dirty_ratio),
^1da177e4 Linus Torvalds      2005-04-16  1362  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1363  		.proc_handler	= dirty_ratio_handler,
115fe47f8 Matteo Croce        2019-05-26  1364  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1365  		.extra2		= &one_hundred,
^1da177e4 Linus Torvalds      2005-04-16  1366  	},
^1da177e4 Linus Torvalds      2005-04-16  1367  	{
2da02997e David Rientjes      2009-01-06  1368  		.procname	= "dirty_bytes",
2da02997e David Rientjes      2009-01-06  1369  		.data		= &vm_dirty_bytes,
2da02997e David Rientjes      2009-01-06  1370  		.maxlen		= sizeof(vm_dirty_bytes),
2da02997e David Rientjes      2009-01-06  1371  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1372  		.proc_handler	= dirty_bytes_handler,
9e4a5bda8 Andrea Righi        2009-04-30  1373  		.extra1		= &dirty_bytes_min,
2da02997e David Rientjes      2009-01-06  1374  	},
2da02997e David Rientjes      2009-01-06  1375  	{
^1da177e4 Linus Torvalds      2005-04-16  1376  		.procname	= "dirty_writeback_centisecs",
f6ef94381 Bart Samwel         2006-03-24  1377  		.data		= &dirty_writeback_interval,
f6ef94381 Bart Samwel         2006-03-24  1378  		.maxlen		= sizeof(dirty_writeback_interval),
^1da177e4 Linus Torvalds      2005-04-16  1379  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1380  		.proc_handler	= dirty_writeback_centisecs_handler,
^1da177e4 Linus Torvalds      2005-04-16  1381  	},
^1da177e4 Linus Torvalds      2005-04-16  1382  	{
^1da177e4 Linus Torvalds      2005-04-16  1383  		.procname	= "dirty_expire_centisecs",
f6ef94381 Bart Samwel         2006-03-24  1384  		.data		= &dirty_expire_interval,
f6ef94381 Bart Samwel         2006-03-24  1385  		.maxlen		= sizeof(dirty_expire_interval),
^1da177e4 Linus Torvalds      2005-04-16  1386  		.mode		= 0644,
cb16e95fa Petr Holasek        2011-03-23  1387  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1388  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1389  	},
^1da177e4 Linus Torvalds      2005-04-16  1390  	{
1efff914a Theodore Ts'o       2015-03-17  1391  		.procname	= "dirtytime_expire_seconds",
1efff914a Theodore Ts'o       2015-03-17  1392  		.data		= &dirtytime_expire_interval,
2d87b309a Randy Dunlap        2018-04-10  1393  		.maxlen		= sizeof(dirtytime_expire_interval),
1efff914a Theodore Ts'o       2015-03-17  1394  		.mode		= 0644,
1efff914a Theodore Ts'o       2015-03-17  1395  		.proc_handler	= dirtytime_interval_handler,
115fe47f8 Matteo Croce        2019-05-26  1396  		.extra1		= SYSCTL_ZERO,
1efff914a Theodore Ts'o       2015-03-17  1397  	},
1efff914a Theodore Ts'o       2015-03-17  1398  	{
^1da177e4 Linus Torvalds      2005-04-16  1399  		.procname	= "swappiness",
^1da177e4 Linus Torvalds      2005-04-16  1400  		.data		= &vm_swappiness,
^1da177e4 Linus Torvalds      2005-04-16  1401  		.maxlen		= sizeof(vm_swappiness),
^1da177e4 Linus Torvalds      2005-04-16  1402  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1403  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1404  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1405  		.extra2		= &one_hundred,
^1da177e4 Linus Torvalds      2005-04-16  1406  	},
^1da177e4 Linus Torvalds      2005-04-16  1407  #ifdef CONFIG_HUGETLB_PAGE
^1da177e4 Linus Torvalds      2005-04-16  1408  	{
^1da177e4 Linus Torvalds      2005-04-16  1409  		.procname	= "nr_hugepages",
e5ff21594 Andi Kleen          2008-07-23  1410  		.data		= NULL,
^1da177e4 Linus Torvalds      2005-04-16  1411  		.maxlen		= sizeof(unsigned long),
^1da177e4 Linus Torvalds      2005-04-16  1412  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1413  		.proc_handler	= hugetlb_sysctl_handler,
^1da177e4 Linus Torvalds      2005-04-16  1414  	},
06808b082 Lee Schermerhorn    2009-12-14  1415  #ifdef CONFIG_NUMA
06808b082 Lee Schermerhorn    2009-12-14  1416  	{
06808b082 Lee Schermerhorn    2009-12-14  1417  		.procname       = "nr_hugepages_mempolicy",
06808b082 Lee Schermerhorn    2009-12-14  1418  		.data           = NULL,
06808b082 Lee Schermerhorn    2009-12-14  1419  		.maxlen         = sizeof(unsigned long),
06808b082 Lee Schermerhorn    2009-12-14  1420  		.mode           = 0644,
06808b082 Lee Schermerhorn    2009-12-14  1421  		.proc_handler   = &hugetlb_mempolicy_sysctl_handler,
06808b082 Lee Schermerhorn    2009-12-14  1422  	},
4518085e1 Kemi Wang           2017-11-15  1423  	{
4518085e1 Kemi Wang           2017-11-15  1424  		.procname		= "numa_stat",
4518085e1 Kemi Wang           2017-11-15  1425  		.data			= &sysctl_vm_numa_stat,
4518085e1 Kemi Wang           2017-11-15  1426  		.maxlen			= sizeof(int),
4518085e1 Kemi Wang           2017-11-15  1427  		.mode			= 0644,
4518085e1 Kemi Wang           2017-11-15  1428  		.proc_handler	= sysctl_vm_numa_stat_handler,
115fe47f8 Matteo Croce        2019-05-26  1429  		.extra1			= SYSCTL_ZERO,
115fe47f8 Matteo Croce        2019-05-26  1430  		.extra2			= SYSCTL_ONE,
4518085e1 Kemi Wang           2017-11-15  1431  	},
06808b082 Lee Schermerhorn    2009-12-14  1432  #endif
^1da177e4 Linus Torvalds      2005-04-16  1433  	 {
^1da177e4 Linus Torvalds      2005-04-16  1434  		.procname	= "hugetlb_shm_group",
^1da177e4 Linus Torvalds      2005-04-16  1435  		.data		= &sysctl_hugetlb_shm_group,
^1da177e4 Linus Torvalds      2005-04-16  1436  		.maxlen		= sizeof(gid_t),
^1da177e4 Linus Torvalds      2005-04-16  1437  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1438  		.proc_handler	= proc_dointvec,
^1da177e4 Linus Torvalds      2005-04-16  1439  	 },
396faf030 Mel Gorman          2007-07-17  1440  	{
d1c3fb1f8 Nishanth Aravamudan 2007-12-17  1441  		.procname	= "nr_overcommit_hugepages",
e5ff21594 Andi Kleen          2008-07-23  1442  		.data		= NULL,
e5ff21594 Andi Kleen          2008-07-23  1443  		.maxlen		= sizeof(unsigned long),
d1c3fb1f8 Nishanth Aravamudan 2007-12-17  1444  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1445  		.proc_handler	= hugetlb_overcommit_handler,
d1c3fb1f8 Nishanth Aravamudan 2007-12-17  1446  	},
^1da177e4 Linus Torvalds      2005-04-16  1447  #endif
^1da177e4 Linus Torvalds      2005-04-16  1448  	{
^1da177e4 Linus Torvalds      2005-04-16  1449  		.procname	= "lowmem_reserve_ratio",
^1da177e4 Linus Torvalds      2005-04-16  1450  		.data		= &sysctl_lowmem_reserve_ratio,
^1da177e4 Linus Torvalds      2005-04-16  1451  		.maxlen		= sizeof(sysctl_lowmem_reserve_ratio),
^1da177e4 Linus Torvalds      2005-04-16  1452  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1453  		.proc_handler	= lowmem_reserve_ratio_sysctl_handler,
^1da177e4 Linus Torvalds      2005-04-16  1454  	},
^1da177e4 Linus Torvalds      2005-04-16  1455  	{
9d0243bca Andrew Morton       2006-01-08  1456  		.procname	= "drop_caches",
9d0243bca Andrew Morton       2006-01-08  1457  		.data		= &sysctl_drop_caches,
9d0243bca Andrew Morton       2006-01-08  1458  		.maxlen		= sizeof(int),
9d0243bca Andrew Morton       2006-01-08  1459  		.mode		= 0644,
9d0243bca Andrew Morton       2006-01-08  1460  		.proc_handler	= drop_caches_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1461  		.extra1		= SYSCTL_ONE,
5509a5d27 Dave Hansen         2014-04-03  1462  		.extra2		= &four,
9d0243bca Andrew Morton       2006-01-08  1463  	},
76ab0f530 Mel Gorman          2010-05-24  1464  #ifdef CONFIG_COMPACTION
76ab0f530 Mel Gorman          2010-05-24  1465  	{
76ab0f530 Mel Gorman          2010-05-24  1466  		.procname	= "compact_memory",
76ab0f530 Mel Gorman          2010-05-24  1467  		.data		= &sysctl_compact_memory,
76ab0f530 Mel Gorman          2010-05-24  1468  		.maxlen		= sizeof(int),
76ab0f530 Mel Gorman          2010-05-24  1469  		.mode		= 0200,
76ab0f530 Mel Gorman          2010-05-24  1470  		.proc_handler	= sysctl_compaction_handler,
76ab0f530 Mel Gorman          2010-05-24  1471  	},
5e7719058 Mel Gorman          2010-05-24  1472  	{
5e7719058 Mel Gorman          2010-05-24  1473  		.procname	= "extfrag_threshold",
5e7719058 Mel Gorman          2010-05-24  1474  		.data		= &sysctl_extfrag_threshold,
5e7719058 Mel Gorman          2010-05-24  1475  		.maxlen		= sizeof(int),
5e7719058 Mel Gorman          2010-05-24  1476  		.mode		= 0644,
6b7e5cad6 Matthew Wilcox      2019-03-05  1477  		.proc_handler	= proc_dointvec_minmax,
5e7719058 Mel Gorman          2010-05-24  1478  		.extra1		= &min_extfrag_threshold,
5e7719058 Mel Gorman          2010-05-24  1479  		.extra2		= &max_extfrag_threshold,
5e7719058 Mel Gorman          2010-05-24  1480  	},
5bbe3547a Eric B Munson       2015-04-15  1481  	{
5bbe3547a Eric B Munson       2015-04-15  1482  		.procname	= "compact_unevictable_allowed",
5bbe3547a Eric B Munson       2015-04-15  1483  		.data		= &sysctl_compact_unevictable_allowed,
5bbe3547a Eric B Munson       2015-04-15  1484  		.maxlen		= sizeof(int),
5bbe3547a Eric B Munson       2015-04-15  1485  		.mode		= 0644,
5bbe3547a Eric B Munson       2015-04-15  1486  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1487  		.extra1		= SYSCTL_ZERO,
115fe47f8 Matteo Croce        2019-05-26  1488  		.extra2		= SYSCTL_ONE,
5bbe3547a Eric B Munson       2015-04-15  1489  	},
5e7719058 Mel Gorman          2010-05-24  1490  
76ab0f530 Mel Gorman          2010-05-24  1491  #endif /* CONFIG_COMPACTION */
9d0243bca Andrew Morton       2006-01-08  1492  	{
^1da177e4 Linus Torvalds      2005-04-16  1493  		.procname	= "min_free_kbytes",
^1da177e4 Linus Torvalds      2005-04-16  1494  		.data		= &min_free_kbytes,
^1da177e4 Linus Torvalds      2005-04-16  1495  		.maxlen		= sizeof(min_free_kbytes),
^1da177e4 Linus Torvalds      2005-04-16  1496  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1497  		.proc_handler	= min_free_kbytes_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1498  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1499  	},
8ad4b1fb8 Rohit Seth          2006-01-08  1500  	{
1c30844d2 Mel Gorman          2018-12-28  1501  		.procname	= "watermark_boost_factor",
1c30844d2 Mel Gorman          2018-12-28  1502  		.data		= &watermark_boost_factor,
1c30844d2 Mel Gorman          2018-12-28  1503  		.maxlen		= sizeof(watermark_boost_factor),
1c30844d2 Mel Gorman          2018-12-28  1504  		.mode		= 0644,
1c30844d2 Mel Gorman          2018-12-28  1505  		.proc_handler	= watermark_boost_factor_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1506  		.extra1		= SYSCTL_ZERO,
1c30844d2 Mel Gorman          2018-12-28  1507  	},
1c30844d2 Mel Gorman          2018-12-28  1508  	{
795ae7a0d Johannes Weiner     2016-03-17  1509  		.procname	= "watermark_scale_factor",
795ae7a0d Johannes Weiner     2016-03-17  1510  		.data		= &watermark_scale_factor,
795ae7a0d Johannes Weiner     2016-03-17  1511  		.maxlen		= sizeof(watermark_scale_factor),
795ae7a0d Johannes Weiner     2016-03-17  1512  		.mode		= 0644,
795ae7a0d Johannes Weiner     2016-03-17  1513  		.proc_handler	= watermark_scale_factor_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1514  		.extra1		= SYSCTL_ONE,
795ae7a0d Johannes Weiner     2016-03-17  1515  		.extra2		= &one_thousand,
795ae7a0d Johannes Weiner     2016-03-17  1516  	},
795ae7a0d Johannes Weiner     2016-03-17  1517  	{
8ad4b1fb8 Rohit Seth          2006-01-08  1518  		.procname	= "percpu_pagelist_fraction",
8ad4b1fb8 Rohit Seth          2006-01-08  1519  		.data		= &percpu_pagelist_fraction,
8ad4b1fb8 Rohit Seth          2006-01-08  1520  		.maxlen		= sizeof(percpu_pagelist_fraction),
8ad4b1fb8 Rohit Seth          2006-01-08  1521  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1522  		.proc_handler	= percpu_pagelist_fraction_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1523  		.extra1		= SYSCTL_ZERO,
8ad4b1fb8 Rohit Seth          2006-01-08  1524  	},
^1da177e4 Linus Torvalds      2005-04-16  1525  #ifdef CONFIG_MMU
^1da177e4 Linus Torvalds      2005-04-16  1526  	{
^1da177e4 Linus Torvalds      2005-04-16  1527  		.procname	= "max_map_count",
^1da177e4 Linus Torvalds      2005-04-16  1528  		.data		= &sysctl_max_map_count,
^1da177e4 Linus Torvalds      2005-04-16  1529  		.maxlen		= sizeof(sysctl_max_map_count),
^1da177e4 Linus Torvalds      2005-04-16  1530  		.mode		= 0644,
3e26120cc WANG Cong           2009-12-17  1531  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1532  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1533  	},
dd8632a12 Paul Mundt          2009-01-08  1534  #else
dd8632a12 Paul Mundt          2009-01-08  1535  	{
dd8632a12 Paul Mundt          2009-01-08  1536  		.procname	= "nr_trim_pages",
dd8632a12 Paul Mundt          2009-01-08  1537  		.data		= &sysctl_nr_trim_pages,
dd8632a12 Paul Mundt          2009-01-08  1538  		.maxlen		= sizeof(sysctl_nr_trim_pages),
dd8632a12 Paul Mundt          2009-01-08  1539  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1540  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1541  		.extra1		= SYSCTL_ZERO,
dd8632a12 Paul Mundt          2009-01-08  1542  	},
^1da177e4 Linus Torvalds      2005-04-16  1543  #endif
^1da177e4 Linus Torvalds      2005-04-16  1544  	{
^1da177e4 Linus Torvalds      2005-04-16  1545  		.procname	= "laptop_mode",
^1da177e4 Linus Torvalds      2005-04-16  1546  		.data		= &laptop_mode,
^1da177e4 Linus Torvalds      2005-04-16  1547  		.maxlen		= sizeof(laptop_mode),
^1da177e4 Linus Torvalds      2005-04-16  1548  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1549  		.proc_handler	= proc_dointvec_jiffies,
^1da177e4 Linus Torvalds      2005-04-16  1550  	},
^1da177e4 Linus Torvalds      2005-04-16  1551  	{
^1da177e4 Linus Torvalds      2005-04-16  1552  		.procname	= "block_dump",
^1da177e4 Linus Torvalds      2005-04-16  1553  		.data		= &block_dump,
^1da177e4 Linus Torvalds      2005-04-16  1554  		.maxlen		= sizeof(block_dump),
^1da177e4 Linus Torvalds      2005-04-16  1555  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1556  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1557  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1558  	},
^1da177e4 Linus Torvalds      2005-04-16  1559  	{
^1da177e4 Linus Torvalds      2005-04-16  1560  		.procname	= "vfs_cache_pressure",
^1da177e4 Linus Torvalds      2005-04-16  1561  		.data		= &sysctl_vfs_cache_pressure,
^1da177e4 Linus Torvalds      2005-04-16  1562  		.maxlen		= sizeof(sysctl_vfs_cache_pressure),
^1da177e4 Linus Torvalds      2005-04-16  1563  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1564  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1565  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1566  	},
^1da177e4 Linus Torvalds      2005-04-16  1567  #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
^1da177e4 Linus Torvalds      2005-04-16  1568  	{
^1da177e4 Linus Torvalds      2005-04-16  1569  		.procname	= "legacy_va_layout",
^1da177e4 Linus Torvalds      2005-04-16  1570  		.data		= &sysctl_legacy_va_layout,
^1da177e4 Linus Torvalds      2005-04-16  1571  		.maxlen		= sizeof(sysctl_legacy_va_layout),
^1da177e4 Linus Torvalds      2005-04-16  1572  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1573  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1574  		.extra1		= SYSCTL_ZERO,
^1da177e4 Linus Torvalds      2005-04-16  1575  	},
^1da177e4 Linus Torvalds      2005-04-16  1576  #endif
1743660b9 Christoph Lameter   2006-01-18  1577  #ifdef CONFIG_NUMA
1743660b9 Christoph Lameter   2006-01-18  1578  	{
1743660b9 Christoph Lameter   2006-01-18  1579  		.procname	= "zone_reclaim_mode",
a5f5f91da Mel Gorman          2016-07-28  1580  		.data		= &node_reclaim_mode,
a5f5f91da Mel Gorman          2016-07-28  1581  		.maxlen		= sizeof(node_reclaim_mode),
1743660b9 Christoph Lameter   2006-01-18  1582  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1583  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1584  		.extra1		= SYSCTL_ZERO,
1743660b9 Christoph Lameter   2006-01-18  1585  	},
9614634fe Christoph Lameter   2006-07-03  1586  	{
9614634fe Christoph Lameter   2006-07-03  1587  		.procname	= "min_unmapped_ratio",
9614634fe Christoph Lameter   2006-07-03  1588  		.data		= &sysctl_min_unmapped_ratio,
9614634fe Christoph Lameter   2006-07-03  1589  		.maxlen		= sizeof(sysctl_min_unmapped_ratio),
9614634fe Christoph Lameter   2006-07-03  1590  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1591  		.proc_handler	= sysctl_min_unmapped_ratio_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1592  		.extra1		= SYSCTL_ZERO,
9614634fe Christoph Lameter   2006-07-03  1593  		.extra2		= &one_hundred,
9614634fe Christoph Lameter   2006-07-03  1594  	},
0ff38490c Christoph Lameter   2006-09-25  1595  	{
0ff38490c Christoph Lameter   2006-09-25  1596  		.procname	= "min_slab_ratio",
0ff38490c Christoph Lameter   2006-09-25  1597  		.data		= &sysctl_min_slab_ratio,
0ff38490c Christoph Lameter   2006-09-25  1598  		.maxlen		= sizeof(sysctl_min_slab_ratio),
0ff38490c Christoph Lameter   2006-09-25  1599  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1600  		.proc_handler	= sysctl_min_slab_ratio_sysctl_handler,
115fe47f8 Matteo Croce        2019-05-26  1601  		.extra1		= SYSCTL_ZERO,
0ff38490c Christoph Lameter   2006-09-25  1602  		.extra2		= &one_hundred,
0ff38490c Christoph Lameter   2006-09-25  1603  	},
1743660b9 Christoph Lameter   2006-01-18  1604  #endif
77461ab33 Christoph Lameter   2007-05-09  1605  #ifdef CONFIG_SMP
77461ab33 Christoph Lameter   2007-05-09  1606  	{
77461ab33 Christoph Lameter   2007-05-09  1607  		.procname	= "stat_interval",
77461ab33 Christoph Lameter   2007-05-09  1608  		.data		= &sysctl_stat_interval,
77461ab33 Christoph Lameter   2007-05-09  1609  		.maxlen		= sizeof(sysctl_stat_interval),
77461ab33 Christoph Lameter   2007-05-09  1610  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1611  		.proc_handler	= proc_dointvec_jiffies,
77461ab33 Christoph Lameter   2007-05-09  1612  	},
52b6f46bc Hugh Dickins        2016-05-19  1613  	{
52b6f46bc Hugh Dickins        2016-05-19  1614  		.procname	= "stat_refresh",
52b6f46bc Hugh Dickins        2016-05-19  1615  		.data		= NULL,
52b6f46bc Hugh Dickins        2016-05-19  1616  		.maxlen		= 0,
52b6f46bc Hugh Dickins        2016-05-19  1617  		.mode		= 0600,
52b6f46bc Hugh Dickins        2016-05-19  1618  		.proc_handler	= vmstat_refresh,
52b6f46bc Hugh Dickins        2016-05-19  1619  	},
77461ab33 Christoph Lameter   2007-05-09  1620  #endif
6e1415467 David Howells       2009-12-15  1621  #ifdef CONFIG_MMU
ed0321895 Eric Paris          2007-06-28  1622  	{
ed0321895 Eric Paris          2007-06-28  1623  		.procname	= "mmap_min_addr",
788084aba Eric Paris          2009-07-31  1624  		.data		= &dac_mmap_min_addr,
ed0321895 Eric Paris          2007-06-28  1625  		.maxlen		= sizeof(unsigned long),
ed0321895 Eric Paris          2007-06-28  1626  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1627  		.proc_handler	= mmap_min_addr_handler,
ed0321895 Eric Paris          2007-06-28  1628  	},
6e1415467 David Howells       2009-12-15  1629  #endif
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1630  #ifdef CONFIG_NUMA
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1631  	{
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1632  		.procname	= "numa_zonelist_order",
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1633  		.data		= &numa_zonelist_order,
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1634  		.maxlen		= NUMA_ZONELIST_ORDER_LEN,
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1635  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1636  		.proc_handler	= numa_zonelist_order_handler,
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1637  	},
f0c0b2b80 KAMEZAWA Hiroyuki   2007-07-15  1638  #endif
2b8232ce5 Al Viro             2007-10-13  1639  #if (defined(CONFIG_X86_32) && !defined(CONFIG_UML))|| \
5c36e6578 Paul Mundt          2007-03-01  1640     (defined(CONFIG_SUPERH) && defined(CONFIG_VSYSCALL))
e6e5494cb Ingo Molnar         2006-06-27  1641  	{
e6e5494cb Ingo Molnar         2006-06-27  1642  		.procname	= "vdso_enabled",
3d7ee969b Andy Lutomirski     2014-05-05  1643  #ifdef CONFIG_X86_32
3d7ee969b Andy Lutomirski     2014-05-05  1644  		.data		= &vdso32_enabled,
3d7ee969b Andy Lutomirski     2014-05-05  1645  		.maxlen		= sizeof(vdso32_enabled),
3d7ee969b Andy Lutomirski     2014-05-05  1646  #else
e6e5494cb Ingo Molnar         2006-06-27  1647  		.data		= &vdso_enabled,
e6e5494cb Ingo Molnar         2006-06-27  1648  		.maxlen		= sizeof(vdso_enabled),
3d7ee969b Andy Lutomirski     2014-05-05  1649  #endif
e6e5494cb Ingo Molnar         2006-06-27  1650  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1651  		.proc_handler	= proc_dointvec,
115fe47f8 Matteo Croce        2019-05-26  1652  		.extra1		= SYSCTL_ZERO,
e6e5494cb Ingo Molnar         2006-06-27  1653  	},
e6e5494cb Ingo Molnar         2006-06-27  1654  #endif
195cf453d Bron Gondwana       2008-02-04  1655  #ifdef CONFIG_HIGHMEM
195cf453d Bron Gondwana       2008-02-04  1656  	{
195cf453d Bron Gondwana       2008-02-04  1657  		.procname	= "highmem_is_dirtyable",
195cf453d Bron Gondwana       2008-02-04  1658  		.data		= &vm_highmem_is_dirtyable,
195cf453d Bron Gondwana       2008-02-04  1659  		.maxlen		= sizeof(vm_highmem_is_dirtyable),
195cf453d Bron Gondwana       2008-02-04  1660  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1661  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1662  		.extra1		= SYSCTL_ZERO,
115fe47f8 Matteo Croce        2019-05-26  1663  		.extra2		= SYSCTL_ONE,
195cf453d Bron Gondwana       2008-02-04  1664  	},
195cf453d Bron Gondwana       2008-02-04  1665  #endif
6a46079cf Andi Kleen          2009-09-16  1666  #ifdef CONFIG_MEMORY_FAILURE
6a46079cf Andi Kleen          2009-09-16  1667  	{
6a46079cf Andi Kleen          2009-09-16  1668  		.procname	= "memory_failure_early_kill",
6a46079cf Andi Kleen          2009-09-16  1669  		.data		= &sysctl_memory_failure_early_kill,
6a46079cf Andi Kleen          2009-09-16  1670  		.maxlen		= sizeof(sysctl_memory_failure_early_kill),
6a46079cf Andi Kleen          2009-09-16  1671  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1672  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1673  		.extra1		= SYSCTL_ZERO,
115fe47f8 Matteo Croce        2019-05-26  1674  		.extra2		= SYSCTL_ONE,
6a46079cf Andi Kleen          2009-09-16  1675  	},
6a46079cf Andi Kleen          2009-09-16  1676  	{
6a46079cf Andi Kleen          2009-09-16  1677  		.procname	= "memory_failure_recovery",
6a46079cf Andi Kleen          2009-09-16  1678  		.data		= &sysctl_memory_failure_recovery,
6a46079cf Andi Kleen          2009-09-16  1679  		.maxlen		= sizeof(sysctl_memory_failure_recovery),
6a46079cf Andi Kleen          2009-09-16  1680  		.mode		= 0644,
6d4561110 Eric W. Biederman   2009-11-16  1681  		.proc_handler	= proc_dointvec_minmax,
115fe47f8 Matteo Croce        2019-05-26  1682  		.extra1		= SYSCTL_ZERO,
115fe47f8 Matteo Croce        2019-05-26  1683  		.extra2		= SYSCTL_ONE,
6a46079cf Andi Kleen          2009-09-16  1684  	},
6a46079cf Andi Kleen          2009-09-16  1685  #endif
c9b1d0981 Andrew Shewmaker    2013-04-29  1686  	{
c9b1d0981 Andrew Shewmaker    2013-04-29  1687  		.procname	= "user_reserve_kbytes",
c9b1d0981 Andrew Shewmaker    2013-04-29  1688  		.data		= &sysctl_user_reserve_kbytes,
c9b1d0981 Andrew Shewmaker    2013-04-29  1689  		.maxlen		= sizeof(sysctl_user_reserve_kbytes),
c9b1d0981 Andrew Shewmaker    2013-04-29  1690  		.mode		= 0644,
c9b1d0981 Andrew Shewmaker    2013-04-29  1691  		.proc_handler	= proc_doulongvec_minmax,
c9b1d0981 Andrew Shewmaker    2013-04-29  1692  	},
4eeab4f55 Andrew Shewmaker    2013-04-29  1693  	{
4eeab4f55 Andrew Shewmaker    2013-04-29  1694  		.procname	= "admin_reserve_kbytes",
4eeab4f55 Andrew Shewmaker    2013-04-29  1695  		.data		= &sysctl_admin_reserve_kbytes,
4eeab4f55 Andrew Shewmaker    2013-04-29  1696  		.maxlen		= sizeof(sysctl_admin_reserve_kbytes),
4eeab4f55 Andrew Shewmaker    2013-04-29  1697  		.mode		= 0644,
4eeab4f55 Andrew Shewmaker    2013-04-29  1698  		.proc_handler	= proc_doulongvec_minmax,
4eeab4f55 Andrew Shewmaker    2013-04-29  1699  	},
d07e22597 Daniel Cashman      2016-01-14  1700  #ifdef CONFIG_HAVE_ARCH_MMAP_RND_BITS
d07e22597 Daniel Cashman      2016-01-14  1701  	{
d07e22597 Daniel Cashman      2016-01-14  1702  		.procname	= "mmap_rnd_bits",
d07e22597 Daniel Cashman      2016-01-14  1703  		.data		= &mmap_rnd_bits,
d07e22597 Daniel Cashman      2016-01-14  1704  		.maxlen		= sizeof(mmap_rnd_bits),
d07e22597 Daniel Cashman      2016-01-14  1705  		.mode		= 0600,
d07e22597 Daniel Cashman      2016-01-14  1706  		.proc_handler	= proc_dointvec_minmax,
d07e22597 Daniel Cashman      2016-01-14  1707  		.extra1		= (void *)&mmap_rnd_bits_min,
d07e22597 Daniel Cashman      2016-01-14  1708  		.extra2		= (void *)&mmap_rnd_bits_max,
d07e22597 Daniel Cashman      2016-01-14  1709  	},
d07e22597 Daniel Cashman      2016-01-14  1710  #endif
d07e22597 Daniel Cashman      2016-01-14  1711  #ifdef CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS
d07e22597 Daniel Cashman      2016-01-14  1712  	{
d07e22597 Daniel Cashman      2016-01-14  1713  		.procname	= "mmap_rnd_compat_bits",
d07e22597 Daniel Cashman      2016-01-14  1714  		.data		= &mmap_rnd_compat_bits,
d07e22597 Daniel Cashman      2016-01-14  1715  		.maxlen		= sizeof(mmap_rnd_compat_bits),
d07e22597 Daniel Cashman      2016-01-14  1716  		.mode		= 0600,
d07e22597 Daniel Cashman      2016-01-14  1717  		.proc_handler	= proc_dointvec_minmax,
d07e22597 Daniel Cashman      2016-01-14  1718  		.extra1		= (void *)&mmap_rnd_compat_bits_min,
d07e22597 Daniel Cashman      2016-01-14  1719  		.extra2		= (void *)&mmap_rnd_compat_bits_max,
d07e22597 Daniel Cashman      2016-01-14  1720  	},
d07e22597 Daniel Cashman      2016-01-14  1721  #endif
cefdca0a8 Peter Xu            2019-05-13  1722  #ifdef CONFIG_USERFAULTFD
cefdca0a8 Peter Xu            2019-05-13  1723  	{
cefdca0a8 Peter Xu            2019-05-13  1724  		.procname	= "unprivileged_userfaultfd",
cefdca0a8 Peter Xu            2019-05-13  1725  		.data		= &sysctl_unprivileged_userfaultfd,
cefdca0a8 Peter Xu            2019-05-13  1726  		.maxlen		= sizeof(sysctl_unprivileged_userfaultfd),
cefdca0a8 Peter Xu            2019-05-13  1727  		.mode		= 0644,
cefdca0a8 Peter Xu            2019-05-13  1728  		.proc_handler	= proc_dointvec_minmax,
cefdca0a8 Peter Xu            2019-05-13 @1729  		.extra1		= &zero,
cefdca0a8 Peter Xu            2019-05-13 @1730  		.extra2		= &one,
cefdca0a8 Peter Xu            2019-05-13  1731  	},
cefdca0a8 Peter Xu            2019-05-13  1732  #endif
6fce56ec9 Eric W. Biederman   2009-04-03  1733  	{ }
^1da177e4 Linus Torvalds      2005-04-16  1734  };
^1da177e4 Linus Torvalds      2005-04-16  1735  

:::::: The code at line 1729 was first introduced by commit
:::::: cefdca0a86be517bc390fc4541e3674b8e7803b0 userfaultfd/sysctl: add vm.unprivileged_userfaultfd

:::::: TO: Peter Xu <peterx@xxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux