netdev
[Top] [All Lists]

Re: [PATCHSET] Mobile IPv6 for 2.5.45

To: Pekka Savola <pekkas@xxxxxxxxxx>
Subject: Re: [PATCHSET] Mobile IPv6 for 2.5.45
From: "Krishna Kumar" <kumarkr@xxxxxxxxxx>
Date: Sat, 2 Nov 2002 13:13:22 -0800
Cc: ajtuomin@xxxxxxxxxx, davem@xxxxxxxxxx, kkumar@xxxxxxxxxxxxxxxxxxxxxxxxx, kuznet@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lpetande@xxxxxxxxxx, netdev@xxxxxxxxxxx, "Venkata Jagana" <jagana@xxxxxxxxxx>, YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
I agree with Pekka, hence the response to Jeff's and Yoshifuji's mail is
the same - what you are suggestting is feasible but we need more work in
the kernel either way. We can do many/most of these things in userspace
provided we either duplicate a lot of the code from kernel to user space
(leading to maintainability issues), or  modularize exisiting kernel
routines (eg a different interface to DAD) and provide hooks for the same
to user (portability?). To clean up and provide more hooks in the kernel to
support common user activities means a major over write, but I agree it is
a good idea in the long run.

Another concern to think about is whether an integral part of the HA
functionality should be kept separate in user space, and whether making the
break in the HA to have a user process and kernel component makes sense.
Also other things to worry about when integral components are kept in
userspace -  what happens when signals (KILL) are sent to that process ? We
don't want the home agent functionality to stop in that case, even if it is
a system admin error. This part is very critical to supporting possibly
hundreds of mobile devices in the future.

Thanks,

- KK



                                                                                
                                       
                      Pekka Savola                                              
                                       
                      <pekkas@xxxxxxxxx        To:       YOSHIFUJI Hideaki / 
吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>        
                      i>                       cc:       Krishna 
Kumar/Beaverton/IBM@IBMUS, <davem@xxxxxxxxxx>,        
                                                <ajtuomin@xxxxxxxxxx>, 
<kkumar@xxxxxxxxxxxxxxxxxxxxxxxxx>,             
                      11/02/2002 12:36          <kuznet@xxxxxxxxxxxxx>, 
<linux-kernel@xxxxxxxxxxxxxxx>,                
                      AM                        <lpetande@xxxxxxxxxx>, 
<netdev@xxxxxxxxxxx>, Venkata                   
                                                Jagana/Beaverton/IBM@IBMUS      
                                       
                                               Subject:  Re: [PATCHSET] Mobile 
IPv6 for 2.5.45                         
                                                                                
                                       
                                                                                
                                       
                                                                                
                                       



I believe there could be more hooks in the kernel to let userspace do
certain tasks, for example, sending router solicitations and processing
the responses -- sure, this can be done in the userspace but means code
duplication.  If the code in the kernel could also be called from the
userspace, there might be less need for duplication (though this would
result in portability issues of course).

Similar would appear to be the case some other features listed here.

On Sat, 2 Nov 2002, YOSHIFUJI Hideaki / [iso-2022-jp] 
<Prev in Thread] Current Thread [Next in Thread>