Re: [linux-yocto] [linux-yocto-4.8][PATCH] mm/workingset.c: fix implicit declaration of __list_lru_init_key

2017-09-22 Thread akuster808
Cal,


On 09/22/2017 03:48 PM, California Sullivan wrote:
> __list_lru_init_key does not exist. We're looking for __list_lru_init as
> shown in the patch "26690f5 mm: workingset: fix premature shadow node
> shrinking with cgroups".
>
> Signed-off-by: California Sullivan 

I believe this fix is already in latest 4.8 preempt-base.

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/mm/workingset.c?h=standard/preempt-rt/base=26690f5a8bdf03966c5db20181089f86f8ca8eef

I am working on updating morty to the latest versions.

- armin

> ---
>
> This is for the standard/preempt-rt/base branch. Standard/base is OK.
>
>  mm/workingset.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/workingset.c b/mm/workingset.c
> index 1856fdb..5e953eb 100644
> --- a/mm/workingset.c
> +++ b/mm/workingset.c
> @@ -493,7 +493,7 @@ static int __init workingset_init(void)
>   pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",
>  timestamp_bits, max_order, bucket_order);
>  
> - ret = __list_lru_init_key(&__workingset_shadow_nodes, true, 
> _nodes_key);
> + ret = __list_lru_init(&__workingset_shadow_nodes, true, 
> _nodes_key);
>   if (ret)
>   goto err;
>   ret = register_shrinker(_shadow_shrinker);


-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [linux-yocto-4.8][PATCH] mm/workingset.c: fix implicit declaration of __list_lru_init_key

2017-09-22 Thread California Sullivan
__list_lru_init_key does not exist. We're looking for __list_lru_init as
shown in the patch "26690f5 mm: workingset: fix premature shadow node
shrinking with cgroups".

Signed-off-by: California Sullivan 
---

This is for the standard/preempt-rt/base branch. Standard/base is OK.

 mm/workingset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/workingset.c b/mm/workingset.c
index 1856fdb..5e953eb 100644
--- a/mm/workingset.c
+++ b/mm/workingset.c
@@ -493,7 +493,7 @@ static int __init workingset_init(void)
pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",
   timestamp_bits, max_order, bucket_order);
 
-   ret = __list_lru_init_key(&__workingset_shadow_nodes, true, 
_nodes_key);
+   ret = __list_lru_init(&__workingset_shadow_nodes, true, 
_nodes_key);
if (ret)
goto err;
ret = register_shrinker(_shadow_shrinker);
-- 
2.9.5

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache][PATCH] cgl: Add cgl features

2017-09-22 Thread zhe.he
From: He Zhe 

Add features for Carrier Grade Linux
https://wiki.linuxfoundation.org/cgl/start

Signed-off-by: He Zhe 
---
 cfg/dmm.cfg  |  1 +
 cfg/dmm.scc  |  4 
 cfg/drbd.cfg |  1 +
 cfg/drbd.scc |  4 
 cfg/fs/ocfs2.cfg | 15 +++
 cfg/fs/ocfs2.scc |  4 
 cfg/iscsi.cfg| 14 ++
 cfg/iscsi.scc|  6 ++
 cfg/net/ip_vs.cfg| 36 
 cfg/net/ip_vs.scc|  4 
 cfg/net/l2tp.cfg | 15 +++
 cfg/net/l2tp.scc |  4 
 cfg/net/macvlan.cfg  | 14 ++
 cfg/net/macvlan.scc  |  4 
 features/aoe/aoe.cfg |  1 +
 features/aoe/aoe.scc |  4 
 features/audit/audit.cfg |  6 ++
 features/audit/audit.scc |  4 
 features/mip6/mip6.cfg   |  8 
 features/mip6/mip6.scc   |  5 +
 features/pstore/pstore.cfg   |  3 +++
 features/pstore/pstore.scc   |  4 
 features/qdisc/qdisc_stats.cfg   |  1 +
 features/qdisc/qdisc_stats.scc   |  1 +
 features/quota/quota.cfg |  5 +
 features/quota/quota.scc |  4 
 features/selinux/selinux-dev.cfg |  3 +++
 features/selinux/selinux-dev.scc |  3 +++
 features/selinux/selinux.cfg | 11 +++
 features/selinux/selinux.scc |  4 
 features/udp/udp_stats.cfg   |  1 +
 features/udp/udp_stats.scc   |  1 +
 32 files changed, 195 insertions(+)
 create mode 100644 cfg/dmm.cfg
 create mode 100644 cfg/dmm.scc
 create mode 100644 cfg/drbd.cfg
 create mode 100644 cfg/drbd.scc
 create mode 100644 cfg/fs/ocfs2.cfg
 create mode 100644 cfg/fs/ocfs2.scc
 create mode 100644 cfg/iscsi.cfg
 create mode 100644 cfg/iscsi.scc
 create mode 100644 cfg/net/ip_vs.cfg
 create mode 100644 cfg/net/ip_vs.scc
 create mode 100644 cfg/net/l2tp.cfg
 create mode 100644 cfg/net/l2tp.scc
 create mode 100644 cfg/net/macvlan.cfg
 create mode 100644 cfg/net/macvlan.scc
 create mode 100644 features/aoe/aoe.cfg
 create mode 100644 features/aoe/aoe.scc
 create mode 100644 features/audit/audit.cfg
 create mode 100644 features/audit/audit.scc
 create mode 100644 features/mip6/mip6.cfg
 create mode 100644 features/mip6/mip6.scc
 create mode 100644 features/pstore/pstore.cfg
 create mode 100644 features/pstore/pstore.scc
 create mode 100644 features/qdisc/qdisc_stats.cfg
 create mode 100644 features/qdisc/qdisc_stats.scc
 create mode 100644 features/quota/quota.cfg
 create mode 100644 features/quota/quota.scc
 create mode 100644 features/selinux/selinux-dev.cfg
 create mode 100644 features/selinux/selinux-dev.scc
 create mode 100644 features/selinux/selinux.cfg
 create mode 100644 features/selinux/selinux.scc
 create mode 100644 features/udp/udp_stats.cfg
 create mode 100644 features/udp/udp_stats.scc

diff --git a/cfg/dmm.cfg b/cfg/dmm.cfg
new file mode 100644
index 000..e8645a2
--- /dev/null
+++ b/cfg/dmm.cfg
@@ -0,0 +1 @@
+CONFIG_DM_MULTIPATH=y
diff --git a/cfg/dmm.scc b/cfg/dmm.scc
new file mode 100644
index 000..49fc19a
--- /dev/null
+++ b/cfg/dmm.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Device Mapper Multipath Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware dmm.cfg
diff --git a/cfg/drbd.cfg b/cfg/drbd.cfg
new file mode 100644
index 000..475b821
--- /dev/null
+++ b/cfg/drbd.cfg
@@ -0,0 +1 @@
+CONFIG_BLK_DEV_DRBD=y
diff --git a/cfg/drbd.scc b/cfg/drbd.scc
new file mode 100644
index 000..a6de3b8
--- /dev/null
+++ b/cfg/drbd.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "DRBD Block Device Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware drbd.cfg
diff --git a/cfg/fs/ocfs2.cfg b/cfg/fs/ocfs2.cfg
new file mode 100644
index 000..8d7caf3
--- /dev/null
+++ b/cfg/fs/ocfs2.cfg
@@ -0,0 +1,15 @@
+#.
+#WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.
+
+CONFIG_OCFS2_FS=m
+CONFIG_OCFS2_FS_O2CB=m
diff --git a/cfg/fs/ocfs2.scc b/cfg/fs/ocfs2.scc
new file mode 100644
index 000..4516d66
--- /dev/null
+++ b/cfg/fs/ocfs2.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "OCFS2 file system support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware ocfs2.cfg
diff --git a/cfg/iscsi.cfg