All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Andrew Cooper <amc96@srcf.net>,
	minios-devel@lists.xenproject.org,
	xen-devel@lists.xenproject.org
Cc: samuel.thibault@ens-lyon.org, wl@xen.org
Subject: Re: [PATCH 0/2] mini-os: remove device specific struct file members
Date: Fri, 7 Jan 2022 12:33:58 +0100	[thread overview]
Message-ID: <e28981dd-239a-1213-dd2d-e4cfd7ad2a29@suse.com> (raw)
In-Reply-To: <f1579294-4cc7-a685-0326-967444b69b86@srcf.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 1012 bytes --]

On 07.01.22 12:30, Andrew Cooper wrote:
> On 07/01/2022 10:47, Juergen Gross wrote:
>> This small series is a followup to the series sent recently:
>>
>> https://lists.xen.org/archives/html/xen-devel/2022-01/threads.html#00110
>>
>> It contains the last cleanups related to struct file and can only be
>> applied after the Xen libraries have stopped using the related union
>> members.
>>
>> Juergen Gross (2):
>>    mini-os: remove event channel specific struct file member
>>    mini-os: remove gnttab specific member from struct file
>>
>>   include/lib.h | 13 -------------
>>   1 file changed, 13 deletions(-)
>>
> 
> This all looks fine.  Even if we don't want to hide struct file,
> shouldn't we at least make the files[] array private to the MiniOS
> core?  It's another implementation detail which external users mustn't
> rely on.

In theory yes.

This will need some more work either by splitting headers or by
using get_file_from_fd() everywhere in Mini-OS.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3135 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2022-01-07 11:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07 10:47 [PATCH 0/2] mini-os: remove device specific struct file members Juergen Gross
2022-01-07 10:47 ` [PATCH 1/2] mini-os: remove event channel specific struct file member Juergen Gross
2022-01-09  1:15   ` Samuel Thibault
2022-01-09  6:18     ` Juergen Gross
2022-01-07 10:47 ` [PATCH 2/2] mini-os: remove gnttab specific member from struct file Juergen Gross
2022-01-07 11:30 ` [PATCH 0/2] mini-os: remove device specific struct file members Andrew Cooper
2022-01-07 11:33   ` Juergen Gross [this message]
2022-01-09  1:16 ` Samuel Thibault
2022-01-09  6:17   ` Juergen Gross
2022-01-10 11:35   ` Andrew Cooper
2022-01-10 11:41     ` Samuel Thibault

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=e28981dd-239a-1213-dd2d-e4cfd7ad2a29@suse.com \
    --to=jgross@suse.com \
    --cc=amc96@srcf.net \
    --cc=minios-devel@lists.xenproject.org \
    --cc=samuel.thibault@ens-lyon.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 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.