* [uml-devel] PROC_MM
@ 2007-11-26 9:50 Jiri Olsa
2007-11-26 20:47 ` Karol Swietlicki
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Olsa @ 2007-11-26 9:50 UTC (permalink / raw)
To: Jeff Dike; +Cc: uml-devel
Hi,
I see some code related to PROC_MM
static inline void check_skas3_proc_mm(void)
{
non_fatal(" - /proc/mm...");
if (access("/proc/mm", W_OK) < 0) {
proc_mm = 0;
perror("not found");
}
else if (!proc_mm)
non_fatal("found but disabled on command line\n");
else non_fatal("found\n");
}
I did not find PROC_MM config option in the kernel or any other way to get /proc/mm file.
Is it just old code pending for removal, or am I missing smth... :)
thanks,
Jirka
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] PROC_MM
2007-11-26 9:50 [uml-devel] PROC_MM Jiri Olsa
@ 2007-11-26 20:47 ` Karol Swietlicki
2007-11-26 22:26 ` Jiri Olsa
0 siblings, 1 reply; 4+ messages in thread
From: Karol Swietlicki @ 2007-11-26 20:47 UTC (permalink / raw)
To: Jiri Olsa; +Cc: Jeff Dike, uml-devel
On 26/11/2007, Jiri Olsa <olsajiri@gmail.com> wrote:
> Hi,
>
> I see some code related to PROC_MM
<snip>
> I did not find PROC_MM config option in the kernel or any other way to get /proc/mm file.
> Is it just old code pending for removal, or am I missing smth... :)
There exists a patchset which allows you to run UML in skas3 mode. The
said mode uses /proc/mm.
I suppose the bit you are seeing is a small part of that patchset
which did get to the mainline.
Karol Swietlicki
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] PROC_MM
2007-11-26 20:47 ` Karol Swietlicki
@ 2007-11-26 22:26 ` Jiri Olsa
2007-11-26 22:38 ` Karol Swietlicki
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Olsa @ 2007-11-26 22:26 UTC (permalink / raw)
To: Karol Swietlicki; +Cc: Jeff Dike, uml-devel
Karol Swietlicki wrote:
> On 26/11/2007, Jiri Olsa <olsajiri@gmail.com> wrote:
>> Hi,
>>
>> I see some code related to PROC_MM
>
> <snip>
>
>> I did not find PROC_MM config option in the kernel or any other way to get /proc/mm file.
>> Is it just old code pending for removal, or am I missing smth... :)
>
> There exists a patchset which allows you to run UML in skas3 mode. The
> said mode uses /proc/mm.
> I suppose the bit you are seeing is a small part of that patchset
> which did get to the mainline.
I see, anyway the latest SKAS3 patch I found is from 07-Feb-2007.
http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/
Where can I get the latest one? When is it going to the mainline?
>
> Karol Swietlicki
>
thanks,
jirka
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] PROC_MM
2007-11-26 22:26 ` Jiri Olsa
@ 2007-11-26 22:38 ` Karol Swietlicki
0 siblings, 0 replies; 4+ messages in thread
From: Karol Swietlicki @ 2007-11-26 22:38 UTC (permalink / raw)
To: Jiri Olsa; +Cc: Jeff Dike, uml-devel
> I see, anyway the latest SKAS3 patch I found is from 07-Feb-2007.
> http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/
>
> Where can I get the latest one? When is it going to the mainline?
I'm afraid that I don't know when it is going mainline, if ever. Jeff?
However one thing that I know is that there exist some other patches.
The newest one I saw applied to 2.6.23, on the uml-user mailing list.
It was not enough to give me skas3, /proc/mm would not work right. I
have not checked there for a new version and I don't keep track of
that list. There are also patches on http://uml.nagafix.co.uk/ nearly
at the bottom of the page. I have not tried those, so I cannot comment
on them. Neither of the two patches I mention are official, as far as
I could gather, unless I missed something obivous.
Karol Swietlicki
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-26 22:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 9:50 [uml-devel] PROC_MM Jiri Olsa
2007-11-26 20:47 ` Karol Swietlicki
2007-11-26 22:26 ` Jiri Olsa
2007-11-26 22:38 ` Karol Swietlicki
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.