WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
138963
Remove alignment code from IPC coders
https://bugs.webkit.org/show_bug.cgi?id=138963
Summary
Remove alignment code from IPC coders
Antti Koivisto
Reported
2014-11-21 05:40:13 PST
It does nothing except bloat the messages.
Attachments
patch
(20.69 KB, patch)
2014-11-21 08:40 PST
,
Antti Koivisto
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2014-11-21 08:40:59 PST
Created
attachment 242048
[details]
patch
Antti Koivisto
Comment 2
2014-11-21 09:41:20 PST
https://trac.webkit.org/r176452
WebKit Commit Bot
Comment 3
2014-12-03 16:08:46 PST
Re-opened since this is blocked by
bug 139239
Csaba Osztrogonác
Comment 4
2015-01-26 05:59:05 PST
If you are going to reland this patch once, please integrate the buildfix from
bug139081
. Thanks.
Csaba Osztrogonác
Comment 5
2015-06-01 04:09:31 PDT
Is there any plan to land it again with the iOS fix and the fix in
bug139081
?
Antti Koivisto
Comment 6
2015-06-01 04:14:22 PDT
I think Anders said he wanted to do something different here.
Csaba Osztrogonác
Comment 7
2015-06-18 06:26:54 PDT
(In reply to
comment #5
)
> Is there any plan to land it again with the iOS fix and the fix in
bug139081
?
(In reply to
comment #6
)
> I think Anders said he wanted to do something different here.
Anders?
Csaba Osztrogonác
Comment 8
2015-09-24 07:06:14 PDT
ping?
Csaba Osztrogonác
Comment 9
2016-02-08 02:25:45 PST
ping?
Ahmad Saleem
Comment 10
2022-10-05 15:38:18 PDT
This r+ patch landed:
https://github.com/WebKit/WebKit/commit/395664aba4d8e744cf9e206e326259ae171d8bd0
but got backed out:
https://github.com/WebKit/WebKit/commit/92c313f6d581fe6d372217e388c4ee4e9f1cc80d
Is this needed anymore? Thanks!
Kimmo Kinnunen
Comment 11
2022-10-05 22:29:52 PDT
I'm not sure at 2014, but in 2022 I think the alignment is used to ensure that the possible in-place references of data are correctly aligned. E.g. mostly the case where we would refer to Span<float> that exist in the stream IPC buffer or mach message buffer, and we'd prefer not to copy it (say it's 50mbs of floats for WebGL). There might be cases where the alignment could be omitted. There might be call sequences where the invariants are broken so that the above expectation doesn't actually hold, we don't have the tests yet for this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug