[NetDev] [ANNOUNCE] Netdev 1.2 program announced

2016-09-29 Thread Hajime Tazaki
Hello, The program of Linux netdev 1.2 is now online ! http://netdevconf.org/1.2/schedule.html As we stated, all of registered people is now in the mailing list, people at netdevconf.org. If you wish to communicate with the attendees of netdev 1.2, feel free to exchange messages. -- Hajime

[ANNOUNCE] Netdev 1.2 updates (27th September, 2016)

2016-09-27 Thread Hajime Tazaki
Hello folks, The Linux netdev 1.2 conference will start on next week and I hope everyone is ready to join us. == program == The full list of accepted sessions (keynotes, workshops, talks, bofs) are available at the following page. http://netdevconf.org/1.2/accepted-sessions.html We will have

[ANNOUNCE] netdev 1.2 tokyo weekly update (13th September, 2016)

2016-09-13 Thread Hajime Tazaki
Hello folks, I hope you're fine and ready to trip to Tokyo. Here is an weekly update of Netdev 1.2 Tokyo. == Keynote talk == We confirmed that David Miller will give a keynote titled "Fast Programmable Networks & Encapsulated Protocols". == Newly accepted sessions == We also accepted one

[NetDev] [ANNOUNCE] Netdev 1.2 weekly updates (6th September, 2016)

2016-09-06 Thread Hajime Tazaki
Hello folks, Tokyo is still being in a hot weather but it'll start comfortable autumn very soon. Here is an weekly update of Netdev 1.2 Tokyo. We again extended the deadline of early bird registration. Please don't miss the discount ticket - and your early registration will be definitely

[NetDev] [ANNOUNCE] Netdev 1.2 weekly updates (30th August, 2016)

2016-08-29 Thread Hajime Tazaki
Hello folks, I hope you're doing well. Here is an weekly update of Netdev 1.2 Tokyo. The early bird registration is still available. Please don't miss the discount ticket - and your early registration will be definitely helpful to prepare the conference.

[ANNOUNCE] Netdev 1.2 weekly updates (24th August, 2016)

2016-08-24 Thread Hajime Tazaki
Hello folks, Here is an weekly update of Netdev 1.2 Tokyo. The early bird registration is still available. Please don't miss the discount ticket - and your early registration will be definitely helpful to prepare the conference. http://netdevconf.org/1.2/registration.html The session

[ANNOUNCE] Netdev 1.2 updates (16th August, 2016)

2016-08-16 Thread Hajime Tazaki
Hello folks, I hope all of you're fine. Here is an update for coming Netdev 1.2 Tokyo. * Summary 1) extended early-bird registration 2) paper submission deadline 3) slides submission deadline 4) newly accepted sessions So here we go. 1) extended early bird registration deadline Due to

[ANNOUNCE] Netdev 1.2 updates

2016-08-10 Thread Hajime Tazaki
Hello folks, The deadline for the early bird registration of netdev 1.2 (Tokyo) is coming very soon (August 15, next Monday). Please don't forget to register with the discount price. Your early registration will be definitely helpful to prepare the conference.

[NetDev] [ANNOUNCE] Netdev 1.2 updates (Tokyo, Japan, October 5-7)

2016-07-25 Thread Hajime Tazaki
Hello, We'd like to share the interesting updates of coming netdev 1.2, held in Tokyo, Japan on October 5-7. We have already accepted a great series of sessions and more to coming soon. http://netdevconf.org/1.2/accepted-sessions.html * Workshop - XDP workshop: Introduction, experience, and

[ANNOUNCE] Netdev 1.2 Registration open

2016-07-06 Thread Hajime Tazaki
We are pleased to announce that registration is now open for netdev 1.2, the community-driven Linux networking conference held back-to-back with netconf in Tokyo, Japan, October 5-7, 2016. Registration is now open at: https://www.netdevconf.org/1.2/registration.html = Fees = * Early bird

Re: [PATCH net-next 0/8] tou: Transports over UDP - part I

2016-06-19 Thread Hajime Tazaki
On Fri, 17 Jun 2016 20:52:55 -0700, Tom Herbert wrote: > > > We also now have to debug against every single userland TCP > > implementation someone can come up with, the barrier to entry is > > insanely low with TOU. Maybe this sounds great to you, but to me > > it is quite terrifying > > > No,

[ANNOUNCE] Netdev 1.2 call for proposals

2016-06-01 Thread Hajime Tazaki
We just opened call for proposals. We hope the conference will be the great venue as previous netdev conferences. http://netdevconf.org/1.2/submit-proposal.html Netdev 1.2 is a community-driven conference geared towards Linux netheads. Linux kernel networking and user space utilization of the

Re: [ANNOUNCE] Netdev 1.2 conference

2016-05-17 Thread Hajime Tazaki
Hello Stephen, all, At Mon, 16 May 2016 11:50:08 -0700, Stephen Hemminger wrote: > > On Tue, 17 May 2016 00:36:58 +0900 > Hajime Tazaki <thehaj...@gmail.com> wrote: > > > Following the last successful Netdev 0.1 in Ottawa, Canada and > > 1.1 in Seville, S

[ANNOUNCE] Netdev 1.2 conference

2016-05-16 Thread Hajime Tazaki
website and twitter, we'll be announcing important information updates progressively. -- Netdev 1.2 organization committee Hajime Tazaki, Yuji Sekiya

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-20 Thread Hajime Tazaki
Hello David, sorry for the delay. At Sun, 11 Oct 2015 12:01:30 -0600, David Ahern wrote: > > On 10/11/15 8:24 AM, Hajime Tazaki wrote: > > > > I've faced this issue since the following patch was applied. > > > > commit 741a11d9e4103a8e1c590ef1280143fe654e4

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-20 Thread Hajime Tazaki
At Tue, 20 Oct 2015 11:48:48 -0600, David Ahern wrote: > > the conditions are > > > > - sendmsg () with INET6/RAW socket (with IPPROTO_MH) > > - ip6_pktinfo.ipi6_addr (fl6.saddr) and ipi6_oif > >(fl6.flowi6_oif) are non-NULL. > > => ipi6_addr (fl6.saddr) is not the IP address of oif, but > >

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-11 Thread Hajime Tazaki
At Fri, 9 Oct 2015 11:27:36 -0600, David Ahern wrote: > > [1 ] > On 10/9/15 1:17 AM, Steffen Klassert wrote: > >>> diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c > >>> index 30caa289c5db..5cedfda4b241 100644 > >>> --- a/net/ipv6/xfrm6_policy.c > >>> +++ b/net/ipv6/xfrm6_policy.c

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-11 Thread Hajime Tazaki
At Sun, 11 Oct 2015 07:31:32 -0600, David Ahern wrote: > >> The attached patch applied to Linus' tree works for me. Currently the > >> above change is not in his tree, so I added it to this patch. Once you > >> confirm that it works for you I'll create the delta-patch for net and > >> send out.

Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6

2015-10-09 Thread Hajime Tazaki
Hello David, At Mon, 5 Oct 2015 08:32:51 -0600, David Ahern wrote: > > diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c > index 30caa289c5db..5cedfda4b241 100644 > --- a/net/ipv6/xfrm6_policy.c > +++ b/net/ipv6/xfrm6_policy.c > @@ -37,6 +37,7 @@ static struct dst_entry

[PATCH v6 08/10] lib: auxiliary files for auto-generated asm-generic files of libos

2015-09-03 Thread Hajime Tazaki
these files works as stubs in order to transparently run the other kernel part (e.g., net/) on libos environment. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- arch/lib/include/asm/Kbuild | 57 arch/lib/include/asm/atomic.h

[PATCH v6 10/10] lib: tools used for test scripts

2015-09-03 Thread Hajime Tazaki
These auxiliary files are used for testing and debugging of net/ code with libos. a simple test is implemented with make test ARCH=lib. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile

[PATCH v6 06/10] lib: sysctl handling (kernel glue code)

2015-09-03 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface registered via lib_init() API. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- arch/lib/sysctl.c | 270 ++ 1 file changed, 270 insertions(+) create mode 100644 arch/lib/sy

[PATCH v6 09/10] lib: libos build scripts and documentation

2015-09-03 Thread Hajime Tazaki
document and build scripts for libos architecture. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> Signed-off-by: Ryo Nakamura <u...@haeena.net> --- Documentation/virtual/libos-howto.txt | 144 MAINTAINERS | 9 + arch/lib/.gitignore

[PATCH v6 07/10] lib: other kernel glue layer code

2015-09-03 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> Signed-off-by: Christoph Paasch <christoph.paa...@gmail.com> --- arch/lib/capability.c | 25 + arch/lib/filema

[PATCH v6 05/10] lib: context and scheduling functions (kernel glue code) for libos

2015-09-03 Thread Hajime Tazaki
context primitives of kernel such as soft interrupts, scheduling, tasklet are implemented for libos. these functions eventually call the functions registered by lib_init() API as well. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- arch/lib/sched.c

[PATCH v6 03/10] lib: public headers and API implementations for userspace programs

2015-09-03 Thread Hajime Tazaki
userspace programs which uses libos access via a public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> Signed-off-by: Ryo Nakamura <u...@haeena.net> --- arch/lib/include/sim-assert.h | 23 +++ arch

[PATCH v6 02/10] slab: add SLIB (Library memory allocator) for arch/lib

2015-09-03 Thread Hajime Tazaki
add SLIB allocator for arch/lib (CONFIG_LIB) to wrap kmalloc and co. This will bring user's own allocator of libos: malloc(3) etc. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- include/linux/slab.h | 6 +- include/linux/slib_def.h | 21 + mm/Makefile | 1

[PATCH v6 01/10] sysctl: make some functions unstatic to access by arch/lib

2015-09-03 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- fs/proc/proc_sysctl.

[PATCH v6 04/10] lib: time handling (kernel glue code)

2015-09-03 Thread Hajime Tazaki
timer related (internal) functions such as add_timer(), do_gettimeofday() of kernel are trivially reimplemented for libos. these eventually call the functions registered by lib_init() API. Signed-off-by: Hajime Tazaki <thehaj...@gmail.com> --- arch/lib/hrtimer.c

[PATCH v6 00/10] an introduction of Linux library operating system (LibOS)

2015-09-03 Thread Hajime Tazaki
lideset presented at the last netdev0.1 conference. http://www.slideshare.net/hajimetazaki/library-operating-system-for-linux-netdev01 I would appreciate any kind of your feedback regarding to upstream this feature. *1 https://github.com/libos-nuse/linux-libos-tools Hajime Tazaki (10): sysctl:

Re: [PATCH net-next v2] ipv6: Do not iterate over all interfaces when finding source address on specific interface.

2015-07-13 Thread Hajime Tazaki
Yoshifuji-san, At Mon, 13 Jul 2015 17:38:48 +0900, Erik Kline wrote: On 13 July 2015 at 15:32, YOSHIFUJI Hideaki hideaki.yoshif...@miraclelinux.com wrote: Hi, Erik Kline wrote: Hmm, when I run a UML linux with this patch (which, I'm ashamed to say, I failed to do before) I get

Re: [PATCH] ipv6: Fix finding best source address in ipv6_dev_get_saddr().

2015-07-13 Thread Hajime Tazaki
. Bug was reported by Erik Kline e...@google.com. Based on patch proposed by Hajime Tazaki thehaj...@gmail.com. Fixes: 9131f3de24db4dc12199aede7d931e6703e97f3b (ipv6: Do not iterate over all interfaces when finding source address on specific interface.) Signed-off-by: YOSHIFUJI

Re: [PATCH v3] ipv6: Fix protocol resubmission

2015-06-11 Thread Hajime Tazaki
At Wed, 10 Jun 2015 16:57:25 -0500, Josh Hunt wrote: Dave Can you please revert this change? commit 0243508edd317ff1fa63b495643a7c192fbfcd92 Author: Josh Hunt joh...@akamai.com Date: Mon Jun 8 12:00:59 2015 -0400 ipv6: Fix protocol resubmission Let me know if you need a

Re: [PATCH v3] ipv6: Fix protocol resubmission

2015-06-09 Thread Hajime Tazaki
Hello Josh, Dave, my mobile ipv6 test on libos failed with this commit. This commit makes a destination option header handling (i.e., ipprot-handler == ipv6_destopt_rcv) failed since ipv6_destopt_rcv() seems to return a positive value to indicate to goto resubmission label. I will look for

[PATCH v4 02/10] slab: add SLIB (Library memory allocator) for arch/lib

2015-04-26 Thread Hajime Tazaki
add SLIB allocator for arch/lib (CONFIG_LIB) to wrap kmalloc and co. This will bring user's own allocator of libos: malloc(3) etc. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- include/linux/slab.h | 6 +- include/linux/slib_def.h | 21 + mm/Makefile | 1 + mm

[PATCH v4 01/10] sysctl: make some functions unstatic to access by arch/lib

2015-04-26 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- fs/proc/proc_sysctl.c | 36

[PATCH v4 00/10] an introduction of Linux library operating system (LibOS)

2015-04-26 Thread Hajime Tazaki
/hajimetazaki/library-operating-system-for-linux-netdev01 I would appreciate any kind of your feedback regarding to upstream this feature. *1 https://github.com/libos-nuse/linux-libos-tools Hajime Tazaki (10): sysctl: make some functions unstatic to access by arch/lib slab: add SLIB (Library memory

[PATCH v4 04/10] lib: time handling (kernel glue code)

2015-04-26 Thread Hajime Tazaki
timer related (internal) functions such as add_timer(), do_gettimeofday() of kernel are trivially reimplemented for libos. these eventually call the functions registered by lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/hrtimer.c | 122

[PATCH v4 03/10] lib: public headers and API implementations for userspace programs

2015-04-26 Thread Hajime Tazaki
userspace programs which uses libos access via a public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include

[PATCH v4 06/10] lib: sysctl handling (kernel glue code)

2015-04-26 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface registed via lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sysctl.c | 270 ++ 1 file changed, 270 insertions(+) create mode 100644 arch/lib/sysctl.c

[PATCH v4 07/10] lib: other kernel glue layer code

2015-04-26 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Christoph Paasch christoph.paa...@gmail.com --- arch/lib/capability.c | 25 + arch/lib/filemap.c| 32 ++ arch

[PATCH v4 09/10] lib: libos build scripts and documentation

2015-04-26 Thread Hajime Tazaki
document and build scripts for libos architecture. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- Documentation/virtual/libos-howto.txt | 144 MAINTAINERS | 9 + arch/lib/.gitignore | 3

[PATCH v4 10/10] lib: tools used for test scripts

2015-04-26 Thread Hajime Tazaki
These auxiliary files are used for testing and debugging of net/ code with libos. a simple test is implemented with make test ARCH=lib. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile | 38

[PATCH v4 05/10] lib: context and scheduling functions (kernel glue code) for libos

2015-04-26 Thread Hajime Tazaki
contexnt primitives of kernel such as soft interupts, scheduling, tasklet are implemented for libos. these functions eventually call the functions registered by lib_init() API as well. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sched.c | 406

[PATCH v4 08/10] lib: auxially files for auto-generated asm-generic files of libos

2015-04-26 Thread Hajime Tazaki
these files works as stubs in order to transparently run the other kernel part (e.g., net/) on libos environment. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/include/asm/Kbuild | 57 +++ arch/lib/include/asm/atomic.h | 50

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
Hi Richard, At Fri, 24 Apr 2015 09:40:32 +0200, Richard Weinberger wrote: Hi! Am 19.04.2015 um 15:28 schrieb Hajime Tazaki: changes from v2: - Patch 02/11 (slab: add private memory allocator header for arch/lib) * add new allocator named SLIB (Library Allocator): Patch 04/11

Re: [RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-24 Thread Hajime Tazaki
At Fri, 24 Apr 2015 10:59:21 +0200, Richard Weinberger wrote: Am 24.04.2015 um 10:22 schrieb Hajime Tazaki: You *really* need to shape up wrt the build process. at the moment, the implementation of libos can't automate to follow such changes in the build process. but good news is it's

Re: [RFC PATCH v3 09/10] lib: libos build scripts and documentation

2015-04-21 Thread Hajime Tazaki
-19 at 22:28 +0900, Hajime Tazaki wrote: --- /dev/null +++ b/arch/lib/Kconfig @@ -0,0 +1,124 @@ +menuconfig LIB + bool LibOS-specific options + def_bool n This is the start of the Kconfig parse for lib. (That would basically still be true even if you didn't set

[RFC PATCH v3 02/10] slab: add SLIB (Library memory allocator) for arch/lib

2015-04-19 Thread Hajime Tazaki
add SLIB allocator for arch/lib (CONFIG_LIB) to wrap kmalloc and co. This will bring user's own allocator of libos: malloc(3) etc. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- include/linux/slab.h | 6 +- include/linux/slib_def.h | 21 + init/Kconfig | 8 ++ mm

[RFC PATCH v3 03/10] lib: public headers and API implementations for userspace programs

2015-04-19 Thread Hajime Tazaki
userspace programs which uses libos access via a public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include

[RFC PATCH v3 01/10] sysctl: make some functions unstatic to access by arch/lib

2015-04-19 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- fs/proc/proc_sysctl.c | 36

[RFC PATCH v3 06/10] lib: sysctl handling (kernel glue code)

2015-04-19 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface registed via lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sysctl.c | 270 ++ 1 file changed, 270 insertions(+) create mode 100644 arch/lib/sysctl.c

[RFC PATCH v3 08/10] lib: auxially files for auto-generated asm-generic files of libos

2015-04-19 Thread Hajime Tazaki
these files works as stubs in order to transparently run the other kernel part (e.g., net/) on libos environment. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/include/asm/Kbuild | 57 +++ arch/lib/include/asm/atomic.h | 50

[RFC PATCH v3 00/10] an introduction of library operating system for Linux (LibOS)

2015-04-19 Thread Hajime Tazaki
-netdev01 I would appreciate any kind of your feedback regarding to upstream this feature. *1 https://github.com/libos-nuse/linux-libos-tools Hajime Tazaki (10): sysctl: make some functions unstatic to access by arch/lib slab: add SLIB (Library memory allocator) for arch/lib lib: public

[RFC PATCH v3 05/10] lib: context and scheduling functions (kernel glue code) for libos

2015-04-19 Thread Hajime Tazaki
contexnt primitives of kernel such as soft interupts, scheduling, tasklet are implemented for libos. these functions eventually call the functions registered by lib_init() API as well. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sched.c | 406

[RFC PATCH v3 04/10] lib: time handling (kernel glue code)

2015-04-19 Thread Hajime Tazaki
timer related (internal) functions such as add_timer(), do_gettimeofday() of kernel are trivially reimplemented for libos. these eventually call the functions registered by lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/hrtimer.c | 122

[RFC PATCH v3 07/10] lib: other kernel glue layer code

2015-04-19 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Christoph Paasch christoph.paa...@gmail.com --- arch/lib/capability.c | 47 + arch/lib/filemap.c| 32

[RFC PATCH v3 10/10] lib: tools used for test scripts

2015-04-19 Thread Hajime Tazaki
These auxiliary files are used for testing and debugging of net/ code with libos. a simple test is implemented with make test ARCH=lib. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile | 38

[RFC PATCH v3 09/10] lib: libos build scripts and documentation

2015-04-19 Thread Hajime Tazaki
document and build scripts for libos architecture. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- Documentation/virtual/libos-howto.txt | 144 MAINTAINERS | 9 + arch/lib/.gitignore | 8

[RFC PATCH v2 09/11] lib: asm-generic files

2015-04-17 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/include/asm/Kbuild | 57 +++ arch/lib/include/asm/atomic.h | 50 ++ arch/lib/include/asm/barrier.h| 8 + arch/lib/include/asm/bitsperlong.h

[RFC PATCH v2 02/11] slab: add private memory allocator header for arch/lib

2015-04-17 Thread Hajime Tazaki
add header includion for CONFIG_LIB to wrap kmalloc and co. This will bring malloc(3) based allocator used by arch/lib. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- include/linux/slab.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/slab.h b/include

[RFC PATCH v2 03/11] lib: public headers and API implementations for userspace programs

2015-04-17 Thread Hajime Tazaki
userspace programs access via public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include/sim-init.h | 134

[RFC PATCH v2 01/11] sysctl: make some functions unstatic to access by arch/lib

2015-04-17 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- fs/proc/proc_sysctl.c | 36

[RFC PATCH v2 05/11] lib: time handling (kernel glue code)

2015-04-17 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/hrtimer.c | 122 +++ arch/lib/tasklet-hrtimer.c | 57 +++ arch/lib/time.c| 144 +++ arch/lib/timer.c | 238

[RFC PATCH v2 11/11] lib: tools used for test scripts

2015-04-17 Thread Hajime Tazaki
These auxiliary files are used for make test ARCH=lib. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile | 38 +++ tools/testing/libos/README | 15 +++ tools/testing/libos

[RFC PATCH v2 04/11] lib: memory management (kernel glue code)

2015-04-17 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/slab.c | 203 1 file changed, 203 insertions(+) create mode 100644 arch/lib/slab.c diff --git a/arch/lib/slab.c b/arch/lib/slab.c new file mode 100644 index 000..a08f736

[RFC PATCH v2 10/11] lib: libos build scripts and documentation

2015-04-17 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Ryo Nakamura u...@haeena.net --- Documentation/virtual/libos-howto.txt | 144 MAINTAINERS | 9 + arch/lib/.gitignore | 8 + arch/lib/Kconfig | 121

[RFC PATCH v2 07/11] lib: sysctl handling (kernel glue code)

2015-04-17 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface accessed via lib_init() API. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sysctl.c | 270 ++ 1 file changed, 270 insertions(+) create mode 100644 arch/lib/sysctl.c

[RFC PATCH v2 08/11] lib: other kernel glue layer code

2015-04-17 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp Signed-off-by: Christoph Paasch christoph.paa...@gmail.com --- arch/lib/capability.c | 47 + arch/lib/filemap.c| 32

[RFC PATCH v2 06/11] lib: context and scheduling handling (kernel glue code)

2015-04-17 Thread Hajime Tazaki
Signed-off-by: Hajime Tazaki taz...@sfc.wide.ad.jp --- arch/lib/sched.c | 406 +++ arch/lib/softirq.c | 108 ++ arch/lib/tasklet.c | 76 ++ arch/lib/workqueue.c | 242 ++ 4 files changed, 832

Re: [RFC PATCH v2 02/11] slab: add private memory allocator header for arch/lib

2015-04-17 Thread Hajime Tazaki
Hi Christoph, Richard, At Fri, 17 Apr 2015 14:44:35 +0200, Richard Weinberger wrote: Am 17.04.2015 um 14:17 schrieb Christoph Lameter: On Fri, 17 Apr 2015, Hajime Tazaki wrote: add header includion for CONFIG_LIB to wrap kmalloc and co. This will bring malloc(3) based allocator used

Re: [RFC PATCH v2 02/11] slab: add private memory allocator header for arch/lib

2015-04-17 Thread Hajime Tazaki
At Fri, 17 Apr 2015 17:08:22 +0200, Richard Weinberger wrote: add header includion for CONFIG_LIB to wrap kmalloc and co. This will bring malloc(3) based allocator used by arch/lib. Maybe add another allocator insteadl? SLLB which implements memory management using malloc()? Yeah,