Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[SSI] openssi/kernel/fs/proc base.c,1.2.2.18,1.2.2.19: msg#00085

Subject: [SSI] openssi/kernel/fs/proc base.c,1.2.2.18,1.2.2.19
Update of /cvsroot/ssic-linux/openssi/kernel/fs/proc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25746/fs/proc

Modified Files:
      Tag: OPENSSI-RH
        base.c 
Log Message:
M ci/kernel/kernel/fork.c
M openssi/kernel/arch/i386/kernel/signal.c
M openssi/kernel/cluster/arch/i386/vproc/rproc_arch.c
M openssi/kernel/cluster/ssi/vproc/as_xscribe.c
M openssi/kernel/cluster/ssi/vproc/as_xscribe.x
M openssi/kernel/cluster/ssi/vproc/dvp_async.c
M openssi/kernel/cluster/ssi/vproc/dvp_move.c
M openssi/kernel/cluster/ssi/vproc/dvp_pvpsops.c
M openssi/kernel/cluster/ssi/vproc/dvp_vpops.c
M openssi/kernel/cluster/ssi/vproc/pvps.svc
M openssi/kernel/cluster/ssi/vproc/rproc_cli_pproc.c
M openssi/kernel/cluster/ssi/vproc/rproc_cli_vproc.c
M openssi/kernel/cluster/ssi/vproc/rproc_platform.x
M openssi/kernel/cluster/ssi/vproc/rproc_server.c
M openssi/kernel/cluster/ssi/vproc/rproc_server.h
M openssi/kernel/cluster/ssi/vproc/rproc_server_pproc.c
M openssi/kernel/cluster/ssi/vproc/rproc_svr_pproc.c
M openssi/kernel/cluster/ssi/vproc/rproc_svr_vproc.c
M openssi/kernel/cluster/ssi/vproc/rproc_template.x
M openssi/kernel/cluster/ssi/vproc/rvp_init.c
M openssi/kernel/cluster/ssi/vproc/rvp_pvpsops_server.c
M openssi/kernel/fs/proc/base.c
M openssi/kernel/include/linux/dpvproc.h
M openssi/kernel/include/linux/vproc.h
M openssi/kernel/kernel/exit.c
        Changes to migrate threaded processes as a group.



Index: base.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/fs/proc/Attic/base.c,v
retrieving revision 1.2.2.18
retrieving revision 1.2.2.19
diff -u -d -r1.2.2.18 -r1.2.2.19
--- base.c      21 May 2004 18:33:13 -0000      1.2.2.18
+++ base.c      25 Jun 2004 02:57:47 -0000      1.2.2.19
@@ -1633,8 +1633,10 @@
        struct pvproc *pvp = PVP(task->p_vproc);
        short view = pvp->pvp_localview;
 
-       sprintf(buffer, "%s\n", 
-               (view ? (view == 1 ? "localview" : "clusterview") : 
"defaultview"));
+       sprintf(buffer, "%s\n",
+               (view
+                ? (view == 1 ? "localview" : "clusterview")
+                : "defaultview"));
        return (strlen(buffer));
 }
 
@@ -1642,12 +1644,11 @@
                        size_t count, loff_t *ppos, int type)
 {
        char data[256];
-       long nodenum = 0; 
+       long nodenum = 0;
        int action;
        int len;
        int result = -EINVAL;
        struct pvproc *pvp;
-       sigset_t fillset;
 
        if (count >= sizeof(data))
                return -EFAULT;
@@ -1676,16 +1677,10 @@
                /* Silently fail if a kernel daemon. */
                if (task->mm == NULL)
                        return count;
-               sigfillset(&fillset);
-               if (task->execnode == NULL) {
-                       struct move_header *migration_ptr = NULL;
+               result = setup_execnode_move(task, nodenum, MOV_SIGMIG);
+               if (result < 0)
+                       count = result;
 
-                       migration_ptr = setup_execnode_move(task, nodenum, 1);
-                       if (IS_ERR(migration_ptr) || !migration_ptr)
-                               count = PTR_ERR(migration_ptr);
-               }
-               else    
-                       count = -EAGAIN;
                return count;
        }
        if (type == PROC_PID_LOADLEVEL) {



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation