All of lore.kernel.org
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: 2.6-specific UML patches (modules, modversions, various other stuff)
Date: Tue, 6 Jan 2004 20:24:28 +0100	[thread overview]
Message-ID: <200401062024.28475.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200401061909.i06J9ctd003026@ccure.user-mode-linux.org>

Alle 20:09, martedì 6 gennaio 2004, Jeff Dike ha scritto:
> blaisorblade_spam@yahoo.it said:
> > There you will find a number of patches for UML 2.6. Some are mine and
> > some  come from Ingo and M A Young; I've included everything Ingo
> > posted minus the  speedup - breakage for 2.4 host. That is,
> > MM_COPY_SEGMENTS is still called by  UML but if the host is a 2.6 that
> > is a no-op.
>
> There's a lot of old stuff in that patch.  It would be more useful to me if
> it were against a recent UML patch, like the 2.6.0 patch that I'm working
> on at the moment.  That has all the recent 2.4 changes pulled in as well as
> updating to 2.6.0.  A patch containing the stuff that you have that I don't
> would be useful.

I've not got your patch, as I'm not a wizard :-), but the split patches should 
be ok(also you can choose only what you like easily). Just don't take neither 
the combo nor the A-* patches (they just contain the stuff from the -test9 
patch). And remove the changes I pointed out as A-03 and A-04 in the original 
message.

Did you read my question about the change inside mm/memory.c you did?

> Some more specific things -
> 	I'm not going to update the skas3 patch again, but I'm glad people are
> cleaning it up and updating it.
Ok, that is inside E* and F* patches. I've worked on split-up because anyway 
those bit couldn't go in mainline (while I hope that Andrew Morton will soon 
accept the UML patch...)

> 	I don't like the UML_USER_OBJS thing - feel free to work on it, but
> I'm not going to merge it unless I'm desperate.  I continue to think that
> the right way to go is to move all the userspace stuff under os-Linux, then
> fiddle the build rules there.

Just note that without that CONFIG_MODVERSIONS maybe doesn't work (kbuilds 
postprocess the files with modversions, see scripts/Makefile.lib, but not 
without that rule). Actually, I've fixed the link scripts too before 
obtaining success with modversions (I didn't test before), and maybe so that 
is not needed. Also, nothing need that patch apart H-03 - another kbuild 
cleanup, much less intrusive; most of it makes still sense, but it will have 
too much rejects; I'll later post a more up-to-date version of it. H-04 (the 
Pcap fix) should apply anyhow.

About your idea: that is meaningful, but hostfs and other stuff can be built 
as modules. Then is what you get in that way:

1) hostfs_user goes into os-Linux
2) hostfs_kern remains inside fs/hostfs
3) kbuild will refuse to link together hostfs_user and hostfs_kern inside a 
module.
However, this can be solved by making 2 separate modules... (and playing with 
exports between modules if needed).

Also, that doesn't remove the need for fiddling with main kbuild 
infrastructure, since otherwise:
1) either you duplicate a lot of stuff from main Makefiles for .c -> .o rule
2) or you change the c_flags variables from arch/um/os-Linux makefile, 
fiddling with, but that is fragile as that is an undocumented interface.

Bye
-- 
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-01-06 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06 18:20 [uml-devel] 2.6-specific UML patches (modules, modversions, various other stuff) BlaisorBlade
2004-01-06 19:09 ` [uml-devel] " Jeff Dike
2004-01-06 19:24   ` BlaisorBlade [this message]
2004-01-11 12:10 ` [uml-devel] " Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200401062024.28475.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.