aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/kernel/ebin/file.beam
AgeCommit message (Collapse)Author
2019-03-04Update primary bootstrapBjörn Gustavsson
2019-02-22Update primary bootstrapBjörn Gustavsson
2019-02-15Update primary bootstrapBjörn Gustavsson
2019-02-11Update primary bootstrapBjörn Gustavsson
2018-11-28Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap Conflicts: bootstrap/bin/no_dot_erlang.boot bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/compiler/ebin/beam_asm.beam bootstrap/lib/compiler/ebin/beam_jump.beam bootstrap/lib/compiler/ebin/beam_type.beam bootstrap/lib/compiler/ebin/beam_utils.beam bootstrap/lib/compiler/ebin/beam_validator.beam bootstrap/lib/compiler/ebin/compile.beam bootstrap/lib/compiler/ebin/compiler.app bootstrap/lib/compiler/ebin/sys_core_bsm.beam bootstrap/lib/compiler/ebin/sys_core_fold.beam bootstrap/lib/compiler/ebin/v3_codegen.beam bootstrap/lib/compiler/ebin/v3_core.beam bootstrap/lib/kernel/ebin/error_logger.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam bootstrap/lib/kernel/ebin/inet.beam bootstrap/lib/kernel/ebin/inet6_tcp.beam bootstrap/lib/kernel/ebin/inet_tcp.beam bootstrap/lib/kernel/ebin/inet_tcp_dist.beam bootstrap/lib/kernel/ebin/kernel.app bootstrap/lib/kernel/ebin/logger.beam bootstrap/lib/kernel/ebin/logger_backend.beam bootstrap/lib/kernel/ebin/logger_config.beam bootstrap/lib/kernel/ebin/logger_disk_log_h.beam bootstrap/lib/kernel/ebin/logger_formatter.beam bootstrap/lib/kernel/ebin/logger_h_common.beam bootstrap/lib/kernel/ebin/logger_handler_watcher.beam bootstrap/lib/kernel/ebin/logger_server.beam bootstrap/lib/kernel/ebin/logger_std_h.beam bootstrap/lib/kernel/ebin/net_kernel.beam bootstrap/lib/stdlib/ebin/beam_lib.beam bootstrap/lib/stdlib/ebin/dets.beam bootstrap/lib/stdlib/ebin/epp.beam bootstrap/lib/stdlib/ebin/erl_eval.beam bootstrap/lib/stdlib/ebin/erl_internal.beam bootstrap/lib/stdlib/ebin/erl_lint.beam bootstrap/lib/stdlib/ebin/io_lib.beam bootstrap/lib/stdlib/ebin/io_lib_format.beam bootstrap/lib/stdlib/ebin/io_lib_pretty.beam bootstrap/lib/stdlib/ebin/ms_transform.beam bootstrap/lib/stdlib/ebin/proc_lib.beam bootstrap/lib/stdlib/ebin/stdlib.app
2018-08-24Update primary bootstrapBjörn Gustavsson
2018-04-09Update primary bootstrapBjörn Gustavsson
2018-02-14Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/compiler/ebin/beam_asm.beam bootstrap/lib/compiler/ebin/beam_jump.beam bootstrap/lib/compiler/ebin/beam_listing.beam bootstrap/lib/compiler/ebin/beam_type.beam bootstrap/lib/compiler/ebin/beam_validator.beam bootstrap/lib/compiler/ebin/compile.beam bootstrap/lib/compiler/ebin/core_pp.beam bootstrap/lib/compiler/ebin/v3_codegen.beam bootstrap/lib/compiler/ebin/v3_kernel_pp.beam bootstrap/lib/kernel/ebin/dist_util.beam bootstrap/lib/kernel/ebin/error_logger.beam bootstrap/lib/kernel/ebin/erts_debug.beam bootstrap/lib/kernel/ebin/group_history.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam bootstrap/lib/kernel/ebin/kernel.app bootstrap/lib/kernel/ebin/os.beam bootstrap/lib/kernel/ebin/user.beam bootstrap/lib/stdlib/ebin/array.beam bootstrap/lib/stdlib/ebin/dets.beam bootstrap/lib/stdlib/ebin/edlin.beam bootstrap/lib/stdlib/ebin/erl_lint.beam bootstrap/lib/stdlib/ebin/ets.beam bootstrap/lib/stdlib/ebin/filelib.beam bootstrap/lib/stdlib/ebin/filename.beam bootstrap/lib/stdlib/ebin/gen_statem.beam bootstrap/lib/stdlib/ebin/lib.beam bootstrap/lib/stdlib/ebin/otp_internal.beam bootstrap/lib/stdlib/ebin/qlc.beam bootstrap/lib/stdlib/ebin/shell.beam bootstrap/lib/stdlib/ebin/stdlib.appup bootstrap/lib/stdlib/ebin/string.beam bootstrap/lib/stdlib/ebin/unicode_util.beam
2018-01-19Update primary bootstrapBjörn Gustavsson
2017-12-04Update primary bootstrapBjörn Gustavsson
2017-11-30Reimplement efile_drv as a dirty NIFJohn Högberg
This improves the latency of file operations as dirty schedulers are a bit more eager to run jobs than async threads, and use a single global queue rather than per-thread queues, eliminating the risk of a job stalling behind a long-running job on the same thread while other async threads sit idle. There's no such thing as a free lunch though; the lowered latency comes at the cost of increased busy-waiting which may have an adverse effect on some applications. This behavior can be tweaked with the +sbwt flag, but unfortunately it affects all types of schedulers and not just dirty ones. We plan to add type-specific flags at a later stage. sendfile has been moved to inet_drv to lessen the effect of a nasty race; the cooperation between inet_drv and efile has never been airtight and the socket dying at the wrong time (Regardless of reason) could result in fd aliasing. Moving it to the inet driver makes it impossible to trigger this by closing the socket in the middle of a sendfile operation, while still allowing it to be aborted -- something that can't be done if it stays in the file driver. The race still occurs if the controlling process dies in the short window between dispatching the sendfile operation and the dup(2) call in the driver, but it's much less likely to happen now. A proper fix is in the works. -- Notable functional differences: * The use_threads option for file:sendfile/5 no longer has any effect. * The file-specific DTrace probes have been removed. The same effect can be achieved with normal tracing together with the nif__entry/nif__return probes to track scheduling. -- OTP-14256
2017-07-07Update primary bootstrapBjörn Gustavsson
2017-06-14Update primary bootstrapRickard Green
2017-05-19Update primary bootstrapBjörn Gustavsson
2017-04-26Update primary bootstrapBjörn Gustavsson
2017-04-20Update primary bootstrapBjörn Gustavsson
2017-03-24Update primary bootstrapBjörn-Egil Dahlberg
2017-02-17Update primary bootstrapBjörn Gustavsson
2017-02-01Update primary bootstrapBjörn Gustavsson
2016-12-12Update primary bootstrapBjörn Gustavsson
2016-11-23Update primary bootstrapBjörn Gustavsson
2016-09-29Update primary bootstrapBjörn Gustavsson
2016-05-16Update primary bootstrapBjörn Gustavsson
2016-04-18Update primary bootstrapBjörn Gustavsson
2016-04-04Update primary bootstrapBjörn Gustavsson
2015-08-24Update primary bootstrapBjörn Gustavsson
2015-03-16Update primary bootstrapBjörn Gustavsson
2015-01-12Update primary bootstrapBjörn Gustavsson
2014-06-18Update primary bootstrapMagnus Lidén
2014-01-29Update primary bootstrapBjörn-Egil Dahlberg
2013-12-18Update primary bootstrapBjörn Gustavsson
2013-05-06Update primary bootstrapHans Bolinder
2013-04-19Update primary bootstrapFredrik Gustafsson
2013-02-14Update primary bootstrapBjörn Gustavsson
2013-01-25Update primary bootstrapBjörn Gustavsson
2013-01-18Update primary bootstrapBjörn Gustavsson
2013-01-02Update primary bootstrapHans Bolinder
2012-10-10Update primary bootstrapBjörn Gustavsson
2012-06-25Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap sys_pre_expand: Eliminate bottleneck for modules with many functions Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/kernel/ebin/file.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam
2012-06-25Update primary bootstrapBjörn Gustavsson
2012-03-30Update primary bootstrapBjörn-Egil Dahlberg
2012-03-30Update primary bootstrapBjörn-Egil Dahlberg
2012-01-04Update primary bootstrapBjörn Gustavsson
2011-12-09Update primary bootstrapBjörn-Egil Dahlberg
2011-12-07Update primary bootstrapBjörn Gustavsson
2011-12-02Update primary bootstrapLukas Larsson
2011-08-25Update primary bootstrapBjörn Gustavsson
2011-03-11Update primary bootstrapBjörn-Egil Dahlberg
2010-12-03Update primary bootstrapPatrik Nyblom
2010-08-03Update primary bootstrapBjörn Gustavsson