xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: Juergen Gross <jgross@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Ian Jackson <iwj@xenproject.org>, Julien Grall <julien@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v4 1/5] xen/hypfs: support dynamic hypfs nodes
Date: Thu, 21 Jan 2021 16:47:46 +0100	[thread overview]
Message-ID: <d0073ebf-7404-2924-6a11-05ac0cbc9939@suse.com> (raw)
In-Reply-To: <20210118115516.11001-2-jgross@suse.com>

On 18.01.2021 12:55, Juergen Gross wrote:
> Add a HYPFS_VARDIR_INIT() macro for initializing such a directory
> statically, taking a struct hypfs_funcs pointer as parameter additional
> to those of HYPFS_DIR_INIT().
> 
> Modify HYPFS_VARSIZE_INIT() to take the function vector pointer as an
> additional parameter as this will be needed for dynamical entries.
> 
> For being able to let the generic hypfs coding continue to work on
> normal struct hypfs_entry entities even for dynamical nodes add some
> infrastructure for allocating a working area for the current hypfs
> request in order to store needed information for traversing the tree.
> This area is anchored in a percpu pointer and can be retrieved by any
> level of the dynamic entries. The normal way to handle allocation and
> freeing is to allocate the data in the enter() callback of a node and
> to free it in the related exit() callback.
> 
> Add a hypfs_add_dyndir() function for adding a dynamic directory
> template to the tree, which is needed for having the correct reference
> to its position in hypfs.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Reviewed-by: Jan Beulich <jbeulich@suse.com>


  reply	other threads:[~2021-01-21 15:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 11:55 [PATCH v4 0/5] xen: support per-cpupool scheduling granularity Juergen Gross
2021-01-18 11:55 ` [PATCH v4 1/5] xen/hypfs: support dynamic hypfs nodes Juergen Gross
2021-01-21 15:47   ` Jan Beulich [this message]
2021-01-18 11:55 ` [PATCH v4 2/5] xen/hypfs: add support for id-based dynamic directories Juergen Gross
2021-01-21 15:49   ` Jan Beulich
2021-01-18 11:55 ` [PATCH v4 3/5] xen/cpupool: add cpupool directories Juergen Gross
2021-01-18 11:55 ` [PATCH v4 4/5] xen/cpupool: add scheduling granularity entry to cpupool entries Juergen Gross
2021-01-21 15:50   ` Jan Beulich
2021-01-21 17:27   ` Dario Faggioli
2021-01-18 11:55 ` [PATCH v4 5/5] xen/cpupool: make per-cpupool sched-gran hypfs node writable Juergen Gross
2021-01-21 15:55   ` Jan Beulich
2021-01-21 16:10     ` Jürgen Groß
2021-01-21 17:27   ` Dario Faggioli

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=d0073ebf-7404-2924-6a11-05ac0cbc9939@suse.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=iwj@xenproject.org \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).