From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Archibal Subject: Explore the source code Date: Sun, 1 Mar 2009 17:02:42 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0628695868==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0628695868== Content-Type: multipart/alternative; boundary="_92f0e422-6e61-4bef-97a4-0222a8ddba16_" --_92f0e422-6e61-4bef-97a4-0222a8ddba16_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C =20 I have a lots of questions about xen. Also=2C i would like to explore the c= ode in order to have a better understand of (i hope) how xen works.=20 =20 I have untar the source code=2C but i'm really lost. I'm a newbie in thatbu= t i want to learn how to read the code. =20 Can someone tell me how the archive is organized ? What folders are importa= nt or not ?=20 In fact=2C i would like to have some basis and how i can begin this type of= gait. =20 Thanks in advance Patrick Archibal _________________________________________________________________ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live=A0= ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx= --_92f0e422-6e61-4bef-97a4-0222a8ddba16_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C
 =3B
I have a lots of questions about xen. Also=2C i would like to explore the c= ode in order to have a better =3Bunderstand of (i  =3Bhope) how xen= works.
 =3B
I have untar the source code=2C but i'm really lost. I'm a newbie in thatbu= t i want to learn how to read the code.
 =3B
Can someone tell me how the =3Barchive is organized ? What folders are = important or not ?
In fact=2C i would like to have some basis and how i can begin this type of= gait.
 =3B
Thanks in advance
Patrick Archibal


Vous voulez savoir ce que vous pouvez faire= avec le nouveau Windows Live=A0? Lancez-vous ! = --_92f0e422-6e61-4bef-97a4-0222a8ddba16_-- --===============0628695868== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0628695868==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: Explore the source code Date: Mon, 2 Mar 2009 10:31:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Patrick Archibal Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org All of the folders are important, or they wouldn't be there. :-) What is it you'd eventually like to do? Maybe that will help us put you on the quickest path there. -George On Sun, Mar 1, 2009 at 5:02 PM, Patrick Archibal wrot= e: > Hello, > > I have a lots of questions about xen. Also, i would like to explore the c= ode > in order to have a better=A0understand of (i =A0hope) how xen works. > > I have untar the source code, but i'm really lost. I'm a newbie in thatbu= t i > want to learn how to read the code. > > Can someone tell me how the=A0archive is organized ? What folders are > important or not ? > In fact, i would like to have some basis and how i can begin this type of > gait. > > Thanks in advance > Patrick Archibal > > ________________________________ > Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live= =A0? > Lancez-vous ! > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Tizzoni Subject: Re: Explore the source code Date: Mon, 2 Mar 2009 11:35:51 +0100 Message-ID: <200903021135.56688.marco.tizzoni@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1891174864==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1891174864== Content-Type: multipart/signed; boundary="nextPart2266742.9L1cyXQ4qi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2266742.9L1cyXQ4qi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Alle luned=EC 2 marzo 2009, George Dunlap ha scritto: > What is it you'd eventually like to do? =A0Maybe that will help us put > you on the quickest path there. Something about scheduler? I'm reading "The definitive guide to the Xen hypervisor" as starting point,= =20 any other suggestion on how to continue? m- --nextPart2266742.9L1cyXQ4qi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkmrtowACgkQdcEcknHMJwGJSgCfXDge6bswiCPXWmBVH3g0KPz4 3GkAniM921ByP+PbXj9pxud+Efp8wKM3 =3uFV -----END PGP SIGNATURE----- --nextPart2266742.9L1cyXQ4qi-- --===============1891174864== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1891174864==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jeniffer, Loren" Subject: Re: Explore the source code Date: Mon, 09 Mar 2009 15:35:46 +0900 Message-ID: <49B4B8C2.8030006@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1536591581==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: Patrick Archibal , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1536591581== Content-Type: multipart/alternative; boundary="------------000906030006000407040304" This is a multi-part message in MIME format. --------------000906030006000407040304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'd like to know about grant table and Xen memory management. Especially what module is serving grant page in hypervisor. And how many hypervisor threads(like kernel thread in OS) are running and what are those. Thanks. George Dunlap wrote: > All of the folders are important, or they wouldn't be there. :-) > > What is it you'd eventually like to do? Maybe that will help us put > you on the quickest path there. > > -George > > On Sun, Mar 1, 2009 at 5:02 PM, Patrick Archibal wrote: > >> Hello, >> >> I have a lots of questions about xen. Also, i would like to explore the code >> in order to have a better understand of (i hope) how xen works. >> >> I have untar the source code, but i'm really lost. I'm a newbie in thatbut i >> want to learn how to read the code. >> >> Can someone tell me how the archive is organized ? What folders are >> important or not ? >> In fact, i would like to have some basis and how i can begin this type of >> gait. >> >> Thanks in advance >> Patrick Archibal >> >> ________________________________ >> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? >> Lancez-vous ! >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> >> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > --------------000906030006000407040304 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

I'd like to know about grant table and Xen memory management.
Especially what module is serving grant page in hypervisor.
And how many hypervisor threads(like kernel thread in OS) are running and what are those.


Thanks.

George Dunlap wrote:
All of the folders are important, or they wouldn't be there. :-)

What is it you'd eventually like to do?  Maybe that will help us put
you on the quickest path there.

 -George

On Sun, Mar 1, 2009 at 5:02 PM, Patrick Archibal <bugpb60@hotmail.com> wrote:
  
Hello,

I have a lots of questions about xen. Also, i would like to explore the code
in order to have a better understand of (i  hope) how xen works.

I have untar the source code, but i'm really lost. I'm a newbie in thatbut i
want to learn how to read the code.

Can someone tell me how the archive is organized ? What folders are
important or not ?
In fact, i would like to have some basis and how i can begin this type of
gait.

Thanks in advance
Patrick Archibal

________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
Lancez-vous !
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel


    

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
  

--------------000906030006000407040304-- --===============1536591581== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1536591581==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Tizzoni Subject: Re: Explore the source code Date: Wed, 1 Apr 2009 09:28:13 +0200 Message-ID: References: <200903021135.56688.marco.tizzoni@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1342899316==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1342899316== Content-Type: multipart/alternative; boundary=001636c5a45f1375fe0466794394 --001636c5a45f1375fe0466794394 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Mar 31, 2009 at 12:40 PM, George Dunlap wrote: > Hey Marco, > > Sorry for not following up. I think the scheduler is pretty well > contained in the following files: > xen/common/schedule.c > xen/common/sched_credit.c > xen/include/xen/sched.h > > One thing to note about Xen that's different than Linux is that while > in Linux there's a per-process kernel stack, in Xen there's no per-VM > hypervisor stack. When schedule() is called, it completely throws away > all hypervisor stack and context, and returns directly to the target > VM. For this reason, schedule() is never called directly, but a > schedule softirq is raised and called on the way back out of the > hypervisor anyway. Thanks for your answer, with your help and David's book how to implement a new scheduler it's pretty clear now. Also I'd have a look to device scheduling in order change its behaviour according to my new scheduler policies. Any suggestion on where to start? Marco --001636c5a45f1375fe0466794394 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Mar 31, 2009 at 12:40 PM, George= Dunlap <dunlapg@= umich.edu> wrote:
Hey Marco,

Sorry for not following up. =A0I think the scheduler is pretty well
contained in the following files:
xen/common/schedule.c
xen/common/sched_credit.c
xen/include/xen/sched.h

One thing to note about Xen that's different than Linux is that while in Linux there's a per-process kernel stack, in Xen there's no per-= VM
hypervisor stack. When schedule() is called, it completely throws away
all hypervisor stack and context, and returns directly to the target
VM. =A0For this reason, schedule() is never called directly, but a
schedule softirq is raised and called on the way back out of the
hypervisor anyway.

Thanks for your answer, with your h= elp and David's book how to implement a new scheduler it's pretty c= lear now.
Also I'd have a look to device scheduling in order change = its behaviour according to my new scheduler policies. Any suggestion on whe= re to start?

Marco

--001636c5a45f1375fe0466794394-- --===============1342899316== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1342899316==--