77 Matching Annotations
  1. Nov 2024
    1. static long __get_user_pages(struct mm_struct *mm, unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, int *locked) { long ret = 0, i = 0; struct vm_area_struct *vma = NULL; struct follow_page_context ctx = { NULL }; if (!nr_pages) return 0; start = untagged_addr_remote(mm, start); VM_BUG_ON(!!pages != !!(gup_flags & (FOLL_GET | FOLL_PIN))); do { struct page *page; unsigned int foll_flags = gup_flags; unsigned int page_increm; /* first iteration or cross vma bound */ if (!vma || start >= vma->vm_end) { /* * MADV_POPULATE_(READ|WRITE) wants to handle VMA * lookups+error reporting differently. */ if (gup_flags & FOLL_MADV_POPULATE) { vma = vma_lookup(mm, start); if (!vma) { ret = -ENOMEM; goto out; } if (check_vma_flags(vma, gup_flags)) { ret = -EINVAL; goto out; } goto retry; } vma = gup_vma_lookup(mm, start); if (!vma && in_gate_area(mm, start)) { ret = get_gate_page(mm, start & PAGE_MASK, gup_flags, &vma, pages ? &page : NULL); if (ret) goto out; ctx.page_mask = 0; goto next_page; } if (!vma) { ret = -EFAULT; goto out; } ret = check_vma_flags(vma, gup_flags); if (ret) goto out; } retry: /* * If we have a pending SIGKILL, don't keep faulting pages and * potentially allocating memory. */ if (fatal_signal_pending(current)) { ret = -EINTR; goto out; } cond_resched(); page = follow_page_mask(vma, start, foll_flags, &ctx); if (!page || PTR_ERR(page) == -EMLINK) { ret = faultin_page(vma, start, &foll_flags, PTR_ERR(page) == -EMLINK, locked); switch (ret) { case 0: goto retry; case -EBUSY: case -EAGAIN: ret = 0; fallthrough; case -EFAULT: case -ENOMEM: case -EHWPOISON: goto out; } BUG(); } else if (PTR_ERR(page) == -EEXIST) { /* * Proper page table entry exists, but no corresponding * struct page. If the caller expects **pages to be * filled in, bail out now, because that can't be done * for this page. */ if (pages) { ret = PTR_ERR(page); goto out; } } else if (IS_ERR(page)) { ret = PTR_ERR(page); goto out; } next_page: page_increm = 1 + (~(start >> PAGE_SHIFT) & ctx.page_mask); if (page_increm > nr_pages) page_increm = nr_pages; if (pages) { struct page *subpage; unsigned int j; /* * This must be a large folio (and doesn't need to * be the whole folio; it can be part of it), do * the refcount work for all the subpages too. * * NOTE: here the page may not be the head page * e.g. when start addr is not thp-size aligned. * try_grab_folio() should have taken care of tail * pages. */ if (page_increm > 1) { struct folio *folio; /* * Since we already hold refcount on the * large folio, this should never fail. */ folio = try_grab_folio(page, page_increm - 1, foll_flags); if (WARN_ON_ONCE(!folio)) { /* * Release the 1st page ref if the * folio is problematic, fail hard. */ gup_put_folio(page_folio(page), 1, foll_flags); ret = -EFAULT; goto out; } } for (j = 0; j < page_increm; j++) { subpage = nth_page(page, j); pages[i + j] = subpage; flush_anon_page(vma, subpage, start + j * PAGE_SIZE); flush_dcache_page(subpage); } } i += page_increm; start += page_increm * PAGE_SIZE; nr_pages -= page_increm; } while (nr_pages); out: if (ctx.pgmap) put_dev_pagemap(ctx.pgmap); return i ? i : ret; }

      Literally the actual policy logic of gup. Most important piece of code right here for gup

    2. #ifdef CONFIG_STACK_GROWSUP return vma_lookup(mm, addr); #else static volatile unsigned long next_warn; struct vm_area_struct *vma; unsigned long now, next; vma = find_vma(mm, addr); if (!vma || (addr >= vma->vm_start)) return vma; /* Only warn for half-way relevant accesses */ if (!(vma->vm_flags & VM_GROWSDOWN)) return NULL; if (vma->vm_start - addr > 65536) return NULL; /* Let's not warn more than once an hour.. */ now = jiffies; next = next_warn; if (next && time_before(now, next)) return NULL; next_warn = now + 60*60*HZ; /* Let people know things may have changed. */ pr_warn("GUP no longer grows the stack in %s (%d): %lx-%lx (%lx)\n", current->comm, task_pid_nr(current), vma->vm_start, vma->vm_end, addr); dump_stack(); return NULL;

      helper func to lookup vma(virtual mem area) that warns per hour about half way relevant acc and changes in stack

    3. /* user gate pages are read-only */ if (gup_flags & FOLL_WRITE) return -EFAULT; if (address > TASK_SIZE) pgd = pgd_offset_k(address); else pgd = pgd_offset_gate(mm, address); if (pgd_none(*pgd)) return -EFAULT; p4d = p4d_offset(pgd, address); if (p4d_none(*p4d)) return -EFAULT; pud = pud_offset(p4d, address); if (pud_none(*pud)) return -EFAULT; pmd = pmd_offset(pud, address); if (!pmd_present(*pmd)) return -EFAULT; pte = pte_offset_map(pmd, address); if (!pte) return -EFAULT; entry = ptep_get(pte); if (pte_none(entry)) goto unmap; *vma = get_gate_vma(mm); if (!page) goto out; *page = vm_normal_page(*vma, address, entry); if (!*page) { if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(entry))) goto unmap; *page = pte_page(entry); } ret = try_grab_page(*page, gup_flags); if (unlikely(ret)) goto unmap;

      Most of these seem like sanity checks right up until line 897 i.e, 'if(!page)'* after which we seem to unmap the page.

    4. struct folio *folio = page_folio(page); if (WARN_ON_ONCE(folio_ref_count(folio) <= 0)) return -ENOMEM; if (unlikely(!(flags & FOLL_PCI_P2PDMA) && is_pci_p2pdma_page(page))) return -EREMOTEIO; if (flags & FOLL_GET) folio_ref_inc(folio);

      checks for code that is involved in policy but is not the actual logic

  2. Oct 2024
    1. if (mminit_loglevel < MMINIT_VERIFY)

      This policy controls whether the function will print information about the zonelist. This decision is determined by the value of the "mminit_level" enum in "mm/internal.h".

  3. Jul 2024
    1. for - social tipping point - 2023 paper - paper details

      paper details - title: The Pareto effect in tipping social networks: from minority to majority - author - Jordan Everall - Jonathan. F Donges - Ilona. M. Otto - Preprint date - 20 Nov 2023 - Publication - EGUsphere Preprint Repository

      summary - This is a recent 2023 paper that summarizes social tipping point research for fields of interest to me, such as climate change. - I'm reading, looking for any real world experimental validation of social tipping point in climate change - I didn't find any but still interesting

      from - search - google - research on complex contagion refutes the 25% social tipping point threshold - https://www.google.com/search?q=research+on+complex+contagion+refutes+the+25%25+social+tipping+point+threshold&oq=research+on+complex+contagion+refutes+the+25%25+social+tipping+point+threshold&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEJMjAyOTRqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8 - search results returned of interest - The Pareto effect in tipping social networks: from minority to ... - https://egusphere.copernicus.org/preprints/2023/egusphere-2023-2241/

    1. for - social tipping points - Centola 25% threshold - critique - to - Medium - Overselling the Science of Tipping Points

      comment - The author raises valid critique of Centola's 25% threshold. - His main critique concerns the experiment not representing real world complex scenarios and is summarized in 3 points: - The experimental method used is an oversimplification of the complexity of real world complex issues such as climate change denial and meat eating, which are deeply ingrained beliefs in many cases. - No such attachment exists in the experimental setup - In the experiment, the subjects were incentified. In complex real world issues, there is often no incentive structure - Real life isn't all 1-1 interactions

      to - Medium - Overselling the Science of Tipping Points - https://hyp.is/Aocs0D7WEe-knadNGOYVog/prlicari.medium.com/overselling-the-science-of-social-tipping-points-16095145d32

  4. Jun 2024
  5. Aug 2023
    1. there is a critical tipping threshold of 35% of the population, for plausible distributions of risk/conformity preferences and expectations.
      • for: social tipping point, STP, social norms, 35% threshold, 25% threshold, TPF
      • question
        • is this result contradicting Centola's 25% threshold finding?
    2. Can policy promote beneficial norm change? The model suggests that effective interventions lower the tipping threshold.
      • for: social tipping point, STP, TPF, social norms, complex contagion, lowering threshold
      • policy changes can lower tipping point thresholds
      • for: social tipping point, STP, 25% threshold, 35% threshold, social norms, complex contagion, TPF
      • title
        • Social tipping points and forecasting norm change
      • authors
        • Nikos Nikiforakis
        • Simon Siegenthaler James Andreoni
  6. Feb 2023
    1. real-life situations can be much more complicated, the authors’ model allows for the exact 25 percent tipping point number to change based on circumstances. Memory length is a key variable, and relates to how entrenched a belief or behavior is.
      • 25% social tipping point threshold is adjustable
      • depending on the variables of the context
      • = question - how do we apply this adjustability for complex contagion such as climate change norms?
    2. “And if they’re just below a tipping point, their efforts will fail. But remarkably, just by adding one more person, and getting above the 25 percent tipping point, their efforts can have rapid success in changing the entire population’s opinion.
      • going from just below 25% to just above 25% results in a dramatic change in adoption of a new norm
    3. When a minority group pushing change was below 25 percent of the total group, its efforts failed. But when the committed minority reached 25 percent, there was an abrupt change in the group dynamic, and quickly a majority of the population adopted the new norm.
      • = 25% Social Tipping Point
      • A committed minority group pushing for change just below 25% of the total group population does not succeed
      • but when the committed minority is just above 25%,
      • abrupt change in group dynamics quickly causes a majority of the population to adopt the new norm
  7. Sep 2022
    1. Mnuhbdvqhsdqr‘qdltbgkdrr khjdkx snqdbnfmhydsgdhmsdq‘bshnm‘km‘stqdnevqhs,hmf-Snsgdl+vqhshmfhrrsqhbskx‘antsfdsshmfrdmsdmbdrqhfgsq‘sgdqsg‘mhmsdq‘bshmf vhsg nq adhmf qdronmrhakd sn qd‘cdqr- Athkchmf ‘m tmcdq,rs‘mchmfnevqhshmf‘r‘qgdsnqhb‘k‘bshuhsx+‘rgtl‘mhmsdq‘bshnm+rddlr‘mdrrdmsh‘ksgqdrgnkcbnmbdosenqEXB-

      This is true since I can relate to this because I once only cared about getting the question answered, the word count, sentences and correct grammar before submitting my written work. However, that has changed in me because know I feel that I can dig deeper with my writing and be able to connect to the audience I am addressing to.

    2. Ad‘lnqdqdekdbshud’lhmcetk)rdke,‘v‘qd)sgntfgsetk(vqhsdq-

      Understanding your goal as a writer is really important. In order to so you have to know your audience, topic, your connection to the topic you're writing about and background research. Without these key pieces it would be hard to be a more reflective writer.

    3. Vqhshmfhr‘mdwdqbhrdhm+‘r@mmAdqsgnee’0876(e‘lntrkxotsrhs+‘kk‘,snmbdmdrr-Mndkdldmsnesgdvqhshmfoqnbdrrhrtkshl‘sdkxrdo‘q‘akdeqnlsgd nsgdq o‘qsr

      I agree because like trying to go to the gym daily to stay healthy and fit, writing in a way is similar because with practice you can get better with it. Without consistent practice there won’t be any beneficial progress for us writers.

  8. Jul 2022
    1. So what can we make of politicians who continue to argue that ‘1.5°C is still alive’? Are they misinformed or are they simply lying?I believe many are in denial about the types of solutions the climate crisis demands. Rather than do the – admittedly – very difficult political work of eking out our supplies of fossil fuels while accelerating a just transition to post-carbon societies, politicians are going all out on technological salvation. This is a new form of climate denial, which involves imagining large-scale carbon dioxide removal that will clean up the carbon pollution that we continue to pump into the atmosphere. While it may seem much safer to stick to the script and say that it is still physically possible to limit warming to no more than 1.5°C, while pointing out that the scale of change demands much more political will, I believe that this can no longer be a credible response to the climate crisis.We have warmed the climate by 1.2°C since pre-industrial periods. If emissions stay flat at current levels, then in around nine years the carbon budget for 1.5°C will be exhausted. And, of course, emissions are not flat – they are surging. 2021 saw the second-largest annual increase ever recorded, driven by the rebound in economic activity after Coronavirus lockdowns. We did not ‘build back better’.The clock has been stuck at five minutes to midnight for decades. Alarms have been continuing to sound. There are only so many times you can hit the snooze button.

      Going all out on technological salvation is a form of climate denialism.

      We are at 1.2 Deg C and emissions have climbed after rebounding after Covid. If they flatline for the next nine years, we will hit 1.5 Deg C.

    2. We Need to Stop Pretending we can Limit Global Warming to 1.5°C

      Title: We Need to Stop Pretending we can Limit Global Warming to 1.5°C Author: James Dyke Date: 6 July 2022

  9. Feb 2022
  10. Dec 2021
  11. Nov 2021
  12. Oct 2021
  13. Jul 2021
    1. David Dowdy on Twitter: “One term I worry that we (as a public health community) have mis-messaged during the pandemic: ‘herd immunity threshold’ A non-technical thread on why this is not ‘% of the population that needs to be vaccinated for us to return to life as normal while eradicating COVID-19’... Https://t.co/5As4N9YV9N” / Twitter. (n.d.). Retrieved July 2, 2021, from https://twitter.com/davidwdowdy/status/1389791544425828357?s=20

  14. Jun 2021
    1. We should think about the number of simultaneous connections (peak and average) and the message rate/payload size. I think, the threshold to start thinking about AnyCable (instead of just Action Cable) is somewhere between 500 and 1000 connections on average or 5k-10k during peak hours.
      • number of simultaneous connections (peak and average)

      • the message rate/payload size.

  15. May 2021
  16. Apr 2021
    1. Drei führenden Klimawissenschaftler *kritisieren die Illusion der "Net Zero-Politiken", die darauf setzen, das 1,5°-Ziel durch die Entfernung von CO2" aus der Atmosphäre zu erreichen. Sie werfen vielen ihrher KollegInnen vor, unrealistischen Konzepten nicht offen entgegenzutreten, um ihren politischen Einfluss nicht zu verlieren. Sie kritisieren auch die bisherigen Integrated Assessment Models des Weltklimarats, die von der Voraussetzung ausgehen würde, die Klimakatastrophe ließe sich mit marktwirtschaftlichen Mitteln beheben und fordern auf, deutlich zu sagen, dass sich eine Erhitzung der Erde auf 3 und mehr Grad nicht durch kleine Schritte, sondern nur durch einen Bruch mit dem bisherigen Wirtschaftssystem erreichen läßt.

      Anstatt uns unseren Zweifeln zu stellen, beschlossen wir Wissenschaftler, immer aufwändigere Fantasiewelten zu konstruieren, in denen wir sicher wären. Der Preis, den wir für unsere Feigheit zahlen mussten: Wir mussten den Mund halten über die immer größer werdende Absurdität der geforderten Kohlendioxid-Entfernung im planetarischen Maßstab.

      Greta Thunberg hat diesen Aufsatz als einen wichtigsten und informativsten Texte zur Klima- und ökologischen Krise bezeichnet.

      Climate scientists: concept of net zero is a dangerous trap. Thread von Greta dazu auf Twitter: https://twitter.com/GretaThunberg/status/1385869663188492290

    1. The Climate Council’s new report, released today, shows the immense cost of this inaction. It is now virtually certain Earth will pass the critical 1.5℃ temperature rise this century – most likely in the 2030s.

      Ein neuer Report des australischen Climate Council kommt zu dem Ergebnis, dass die 1,5°-Grenze "virtuell sicher" überschritten werden wird, mit größter Wahrscheinlichkeit in den 2030er Jahren. Will Steffen, einer der bekanntesten Klimawissenschaftler und Mitautor wichtiger Studien über die Tipping Points, ruft dazu auf, mit aller Energie um jedes Zehntelgrad zu kämpfen. Failure is not an option. Australia must radically scale up its climate targets now | Climate change | The Guardian

  17. Mar 2021
  18. Feb 2021
  19. Dec 2020
  20. Sep 2020
  21. Aug 2020
  22. Jun 2020
    1.  Access through your institutionto view subscribed content from home OutlineDownload full text in PDFDownloadShareExportAdvancedOutlineAbstractKeywordsDiagnostic Microbiology and Infectious DiseaseAvailable online 11 June 2020, 115109In Press, Journal Pre-proofWhat are Journal Pre-proof articles?Heat inactivation decreases the Qualitative

      covid-19_poster

  23. www.gene-quantification.de www.gene-quantification.de
    1. t is important that the threshold is set at a fixed level for all samples that are to be compared
  24. Dec 2019
    1. What are threshold dates? A threshold date indicates that a task should not be started until the threshold date. Adding threshold dates is a way to indicate "future tasks". A threshold date is formatted as: t:yyyy-mm-dd.
  25. Nov 2018
    1. Educational Technology Leadership and Practice in Higher Education: The Emergence of Threshold Concepts

      This article explores how technology has become the new standard for higher education and this new standard has created a need to develop new concepts on how to view a subject. Additionally, methods to use educational technology resources are described. Rating: 5/5

  26. Feb 2018
    1. “A threshold concept can be considered as akin to a portal, opening up a new and previously inaccessible way of thinking about something.” (p. 1)

      Definition of Threshold Concept

    2. They proposed the idea based on a round of interviews with economics faculty members.

      Does this then "infect" other Bounded Spaces with Economic concepts? In other words, this idea of "Threshold concepts" works for Economics, but maybe profoundly changes other disciplines into something other than what they are?

  27. Sep 2016